score:111

Accepted answer

you can use expressions windows: while debugging, menu window -> show view -> expressions, then it has place to type variables of which you need to see contents

score:0

you can do so by these ways.

add watchpoint and while debugging you can see variable in debugger window perspective under variable tab. or add system.out.println("variable = " + variable); and see in console.

score:0

and how about selecting the text you want to watch, and then using the shortcut "ctrl + shift + i"

score:23

you can add a watchpoint for each variable you're interested in.

a watchpoint is a special breakpoint that stops the execution of an application whenever the value of a given expression changes, without specifying where it might occur. unlike breakpoints (which are line-specific), watchpoints are associated with files. they take effect whenever a specified condition is true, regardless of when or where it occurred. you can set a watchpoint on a global variable by highlighting the variable in the editor, or by selecting it in the outline view.


Related Query

More Query from same tag