[Oberon] Fwd: IDE with integrated source level debuggerandLuaJIT VM running the Oberon System

rochus.keller at bluewin.ch rochus.keller at bluewin.ch
Sat Feb 15 11:58:23 CET 2020


Yet another hint:

I added the TRAP and TRAPIF( cond: BOOLEAN ) built-in procedures to my Oberon implementation which are handy if you don't want the debugger to permanently run (which slows down execution speed). Just add a TRAP; statement where you want the execution to pause, or e.g. TRAPIF(pa=2); when it should pause given a certain condition. When the TRAP is hit the stack trace and locals are presented as usual, but you can (unlike ASSERT) continue or enable the debugger and run single steps.

There are also the WriteInt, WriteReal, WriteChar and WriteLn procedures as in the oberonc JVM compiler.

Best
R.


More information about the Oberon mailing list