Interrupt process

Posted By: TechMuc

Interrupt process - 08/24/11 20:55

Hey,

Is there any possiblity to interrupt the execution of the engine for the debugger? In Visual Studio this feature is called "Interrupt all" and stops all running threads at the current code-line. I assume that this is not possible in lite-c, but which might be possible to stop at the first code line after a wait(1).

If i set debug_mode to a value higher than zero by hand, the next engine frame just freezes, but does not react to engine_debugstep neither the Callback function is executed (different behavior from what is expected..). This is also the behavior of SED Pause Function (just "hangs up" the engine without any control to the debugger).

Is there any new feature planned to make a real interrupt?
And hey, what's up with local variables debugging?

Greetings,
Timo
Posted By: jcl

Re: Interrupt process - 08/26/11 08:27

Lite-C uses coroutine multitasking. There are no threads and thus no need for interrupts. You can theoretically break execution anytime.

Local variables debugging will come, but as to our policy we can't give a fixed date.
© 2024 lite-C Forums