You are currently browsing all posts tagged with debug

PowerBuilder – Window Object information service

Posted on October 14, 2010 at 8:20 pm in

Here is an easy to implement service geared towards developers who are working on complex, many layered applications. In its basic form it shows the current window object, which pbl it is located in, all the various ancestors of the window, their pbl locations, all datawindows and datawindow objects on the window, and the sql…

PowerBuilder – Window Object information service - the full story »

PowerBuilder – Things to Avoid

Posted on September 2, 2010 at 8:16 pm in

“Give someone enough rope and he’ll hang himself” There are a number of things to avoid in Powerbuilder since they are either resource hogs or make maintenance/debugging a real pain. In no particular order. Code in the Other event I worked for awhile on a large accounting application, a commercially available product, written in PB…

PowerBuilder – Things to Avoid - the full story »

PowerBuilder – Watch expressions in Debug

Posted on April 13, 2010 at 8:20 pm in

There is an easy way to see the contents of a datawindow/datastore while in debug mode – through the use of watch expressions.  Once you are stopped at a breakpoint, say after a retrieve, insert the following watch expression:dwname.saveas(“c:\temp\dwname.xls”,xls!,true)The watch window should show a “1” indicating the successful execution of the expression.  Open up the…

PowerBuilder – Watch expressions in Debug - the full story »

Top