I am writing a small IDE with Single Steps using the Debugdemo. Now I need an Event before and after a line is executed. I would like to disable my Editor while the current Line is executed. I found the OnLine Event but did not find out in what cases it is fired or how I can use it. Any hints are welcome.
Greetings Klaus
The
OnLine
event is meant to alter the interpretation of code.It is not meant for debugging purposes.
If you want to do that use the
BreakPoints
inTPSScriptDebugger
.Put a breakpoint on the line and after the line.
Now you will get a signal before and after the line is executed.