Skip to Content
Former Member
Sep 27, 2011 at 06:58 AM

Debugging Basic issue


Dear All i am new to WDJ recently trying to debug some source code, searched various articles but did not get what exactly i want. i have setup the debug environment and want to debug the below sample code to learn how to get values in the context etc.

my sample code is

String month = (new SimpleDateFormat("MM").format(new Date()));


i have add breakpoint on the first line, now when i click Run-> Debug the code stops at the first line.

my question is how do i check current value of setCtx_date from 2nd line.

in the Variables window i can see the following expandable nodes but donot know which node to click so that i can get to read the current values. the variable windows shows something like this:->

this = Overview(id=589)

-> wdComponentAPI = DelegatingComponent (id= 600)

-> wdContext = IPrivateOverview$IContextNode (id=601)

->wdControllerAPI = DelegatingView (id =591)

-> wdThis= internalOverview(id=590)

Edited by: Jack on Sep 27, 2011 12:37 PM