Debug Mode
When you run a system that is not attached to an Error Rate
Test Console, the system is running in debug mode. Debug mode is useful
when evaluating or debugging the code for the system you are designing.
A system that extends the testconsole.SystemBasicAPI class can
run by itself, without the need to attach it to a test console. This
scenario is referred to as debug mode. Debug mode is useful when evaluating
or debugging the code for the system you are designing. For example,
if you define break points when designing your system, you can run
the system in debug mode and confirm that the system runs without
errors or warnings.
Implementing A Default Input Generator Function For Debug Mode
If your system registers a test input and calls the getInput method
at simulation run time then for it to run in debug mode, the system
must implement a default input generator function. This method should
return an input congruent to the test console.
input = generateDefaultInput(obj)
Back to Top
 | Methods Allowing You to Communicate with the Error Rate Test
Console at Simulation Run Time | | Attaching a System to the Error Rate Test Console and Running
Simulations |  |
How much time do you spend on testing to ensure implementation meets system-level requirements?
Learn more