160
K
A
DAK
Advanced Topics
Using the Breakpoint Manager
The Breakpoint Manager is included in your application only if it is enabled in your User
Parameter File. Use the AMX Configuration Builder to edit your User Parameter File
(see Chapter 14.13). Enable the breakpoint support option in the Breakpoint parameter
window and generate a new System Configuration Module. Then assemble the module
and link your AMX system as described in the AMX 86 Tool Guide.
When you are finished testing your AMX system, you can remove the Breakpoint
Manager. The simplest method is to relink your AMX system including object module
AA831BKE.OBJ in your link specification prior to the AMX Library AMX831.LIB. This
object module contains procedure stubs which satisfy the link requirements without
forcing the Breakpoint Manager to be loaded from the library.
Alternatively, you can alter your System Configuration Module to exclude breakpoint
support. Use the AMX Configuration Builder to edit your User Parameter File. Disable
the breakpoint support option in the Breakpoint parameter window and generate a new
System Configuration Module. Then assemble the module and relink your AMX system.
Breakpoint Exit Detection
The Breakpoint Manager monitors the breakpointed task's state to detect when an exit
from the debugger has occurred. Whenever the task ends, waits or attempts to ready
some other task, the Breakpoint Manager concludes that you have left the debugger and
allows your AMX system to resume execution.
If your debugger inhibits clock interrupts at breakpoints, you can improve the Breakpoint
Manager's exit detection as follows. Use the AMX Configuration Builder to edit your
User Parameter File. Set the breakpoint entry delay to -1 and the breakpoint exit delay to
1 in the Breakpoint parameter window. Generate a new System Configuration Module,
assemble the module and relink your system. The Breakpoint Manager will assume that
you have left the breakpoint as soon as the next AMX clock tick is detected.