Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans debugging variable values

I am debugging in NetBeans IDE, where can I see assigned variables and their values?

like image 847
Waypoint Avatar asked Jan 17 '12 10:01

Waypoint


People also ask

How do I view variables in NetBeans debugger?

Generally, the pane underneath the code has some tabs - and one of them will say 'Variables'. Click on that tab and you will see variables and their values. You need to be actually running a debug session before the variables tab is available.

How do you evaluate expressions in NetBeans?

While debugging, press ctrl+shift+I to evaluate an expression.


2 Answers

While you're in the debugger go Window -> Debugger -> Variables

like image 98
Tim Sparg Avatar answered Sep 25 '22 17:09

Tim Sparg


You can also use ALT+SHIFT+1 to bring up variable viewer.

like image 24
H35am Avatar answered Sep 23 '22 17:09

H35am