Using QuickWatch while debugging a Powerbuilder application



The QuickWatch screen can be very helpful while debugging a Powerbuilder application. The variable value can be checked, modified or saved using the QuickWatch screen. 

For example, to verify the content in datawindow, use the datawindow's SaveAs() function as below and you can see the data the datawindow holds. Similary we can use other datawindow control functions like GetItemString() etc to get the value.



To change the variable value, select the current value expression and click 'Change Value' button. In the next screen ie Modify Variable, either select null to set the variable to null or type a desired value in 'New Value' field and click Ok. Now in QuickWatch screen, click 'Reevaluate'







No comments:

Post a Comment