This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In my web project, I've selected both* 'Debug Web application(Server Side Java)' and 'Debug Web application(Client side JavaScript)' under project properties. When I run the debugger, after setting a break-point in java-script code, debugger stops at the break-point as expected. so far, so good. However, I'm NOT able to see any java script variables in the Local variables window. This is a serious limitation, as far as I'm concerned. FYI, Java script variables are displayed if i select ONLY the client side debugging and UNSELECT server-side debugging. It is required to display java-script variables in addition to server-side variables, when both the options are selected.
When your server session is active, you will not be able to see the local variables of the client side session. The same debugging output windows are used for either server and client side, so you need to manage your sessions. Try this: when you run debug and the toolbar suspends (on javascript code), switch to the Local Variables window to verify the variables, open the Debugging > Sessions > Window to verify the SUSPENDED session is Javascript (has the brightest green icon). Context menu on the server side session (Language Java) and select "Make Current". You will see the Local Variables window no longer display. Go back to the sessions window and make current the javascript session again. See the local variables appear again. I will change this to an enhancement for better session management.
Will this be addressed in 7.0?
A new implementation of JavaScript debugger is in trunk. Closing old issues.