Difference between revisions of "Debug Scripts"

380 bytes added ,  07:50, 9 January 2009
imported>UDUN
imported>Shademe
... and so on
</pre>
 
Alternatively, by using [[Oblivion Script Extender]], debug messages can be logged directly to the console through the [[PrintToConsole]] function. The messages printed thus offer many advantages, the prime being non-overlapping messages.
 
Messages displayed using [[Message]] and [[MessageEx]] can overlap with successive entries, thereby not displaying what's supposed to be.
 
In your final version you should remove any debug message and if debugOn blocks, as you deal with an interpreter. So the more statements you have in your code, the more time the script execution will take.
Anonymous user