observing values of variables during debugging [message #941432] |
Fri, 12 October 2012 10:16  |
Eclipse User |
|
|
|
hi,
how can i observe values of variables during debug mode.
in one of my array elements my programm puts a strange value and i can't locate the line where that happens. so i want to ask, whether there is a possibility during debugging, where one can choose a variable, go through the code line by line and though finding the position in the code where this strange value is written in the variable. but i do not find where the settings i need are in the debugging mode.
hope anybody can help.
thx.
|
|
|
|
|
Re: observing values of variables during debugging [message #941527 is a reply to message #941449] |
Fri, 12 October 2012 12:04  |
Eclipse User |
|
|
|
On 10/12/2012 8:30 AM, mampfe fred wrote:
> thx i found the possibility of watch expressions and that is exactly
> what i want. thanks!
> but i can't found a button where i can go through the cody line by
> line... i can set breakpoints and let the code run until it reaches the
> breakpoint.
> but is there a possibility to go there line by line without using
> breakpoints?
When in Debug perspective (that's a tab in the upper-right hand of the
workbench, but it usually comes up when you launch something for debug),
there are little arrows that that step into, step over and step back out
of code.
To these correspond some keyboard mappings, F5-step into, F6-step over,
F7-step out of and F8-go/resume.
There's no "animated" step-by-step if that's what you mean.
|
|
|
Powered by
FUDForum. Page generated in 0.36399 seconds