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 »

1 Comment on Powerbuilder – Window Object information service »

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 »

2 Comments on Powerbuilder – Things to Avoid »

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…

Powerbuilder – Watch expressions in Debug - the full story »

Comment on Powerbuilder – Watch expressions in Debug »

Top