Setting Breakpoints And Watchpoints - AMX CAFE DUET V1.8 Instruction Manual

Integrated development environment for netlinx duet (version 1.8)
Table of Contents

Advertisement

Debug connection progress is indicated by a status bar in the bottom
right corner of the Duet application window. Double-click this status
bar to access the Progress view tab.
There is a 30-60 second wait for the Master to reboot specifically for
debug connectivity, so please be patient.
If a connection handshake between Café Duet and the Master JVM is
not established in a timely manner, the Duet debug launch attempt will
abort after 60 seconds. Likewise the AMX Master in debug mode will
not continue JVM boot-up until a debug handshake occurs. The AMX
Master will time out after about 100 seconds and reboots to its normal
mode of operations as a debug mode failsafe.
NetLinx Masters have custom configurations and vary in response
times (note your Master's timings).
Select Window > Open Perspective... (or click the toolbar button) to
'Debug' while debug waits to reconnect (otherwise, Eclipse prompts
for 'Debug' Perspective when a debug event occurs, eg: a breakpoint or
watchpoint).
Note: For more information, On-line help is available to learn more about
industry-standard debug controls available in Café Duet. Go to Help > Help
Contents and open the "Java Developers Guide" and refer to "Concepts" >
"Local debugging", "Remote debugging", "Breakpoints", etc...

Setting Breakpoints and Watchpoints

In Cafe Duet, you can set Breakpoints and/or Watchpoints at points in your Duet
code that you intend to inspect during the debug operation.
A code Breakpoint suspends execution of the Duet Module, so that you
can dynamically inspect or change variables, and step through code
execution.
Likewise, a variable Watchpoint suspends execution anytime the
variable is changed, giving you step controls (see below).
Breakpoints and watchpoints are added to a line by double-clicking its
left-margin gutter.
Once a breakpoint or watchpoint is encountered, execution is suspended, and you
can use the following controls:
Café Duet v1.8 - User's Guide
Using Duet Remote Debug
49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents