[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Debug

Mario,

If you wish to stop execution on a specific line, use a conditional breakpoint:
1. Place a breakpoint in the line you want to stop at
2. Right click the Breakpoint marker (or open the Breakpoints view and right click the breakpoint's entry), and select "Breakpoint properties"
3. Enable the "Enable Condition" checkbox and specify the break condition


If you wish to stop whenever a variable's value is changing (without knowing the specific line), use watchpoints:
1. Select the variable in the editor or in the outline view
2. From the Run menu, select "Toggle Watchpoint". You can then customize the watchpoint behavior by right-clicking it in the Breakpoints view and selecting "Properties" from the menu.


HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, Platform Project (JVMTI Profiler)