Console Debugger Features

References
Purpose:

To test the basic features of the console debugger so that a simple application can be debugged via the command line

Test procedure:

Step in to the system

Continue

Debugger should stop in the print routine

Continue

Immediately break the debugger (with Ctrl-C), debugger should be in the loop

Continue

Exception should be raised with with feature call on Void target on str, debugger should indicate the exception raised

Continue

System should end gracefully with the 'Line Printed to Console' being visible at the first step.

Initial Conditions:

The attached system should be compiled and the console debugger menu should be entered via

ec -loop -config console_debugger_test.ecf -target console_debugger_test

Then go to the debugger menu

Then set a breakpoint in the 'print' routine

Expected result:

All the basic debugger features should do their specific task, ie: step in, stop at breakpoint, step out, breakpoint handling, exception handling exiting and that the output display on the debugger should indicate the precise action that the debugger has taken.

AttachmentSize
console_debugger_test.e473 bytes
console_debugger_test.ecf981 bytes

CTRL+C is not supported

"Immediately break the debugger (with Ctrl-C), debugger should be in the loop"

  • CTRL+C is now very well handled by the (ISE) console, and thus is not used for the debugger.
  • In consequence the "interrupt" functionality is not supported (yet).

Test runs

No test runs for this test case available.