Schultz’s PowerBuilder Notes

How do I create a debug log when running from development mode?


Change the PB.INI file’s PB section

[PB]
PBDebug=ON
DebugOutFile = c:\path\filename.dbg

April 15, 2008 Posted by | Debugger | , , | Leave a comment

How do I create a debug log during runtime?


Run the application with /PBDEBUG.  Example:

C:\Dnrapps\SCIS\scis98.exe /pbdebug

This will create a .dbg file in the same directory.

April 15, 2008 Posted by | Debugger | , | Leave a comment

How do I Enable Just-In-Time Debugging


In the PowerBuilder System Options dialog window, check the Just-in-Time Debugging option. This feature was new in PB 6.0.
In PowerBuilder 7.0, Systems Options is under the Window menu column (Window>System Options…)

More Debugging tips

April 15, 2008 Posted by | Debugger | , , , , , , | Leave a comment

Debugger


How do I enable Just-In-Time Debugging?

In the PowerBuilder System Options dialog window, check the Just-in-Time Debugging option. This feature was new in PB 6.0.

In PowerBuilder 7.0, Systems Options is under the Window menu column (Window>System Options…).

How do I create a debug log during runtime?

Run the application with /PBDEBUG. Example:

C:\Dnrapps\SCIS\scis98.exe /pbdebug

This will create a .dbg file in the same directory.

How do I create a debug log when running from development mode?

Change the PB.INI file’s PB section

[PB]

PBDebug=ON

DebugOutFile = c:\path\filename.dbg

PFC Debug Service

April 5, 2008 Posted by | Debugger | , , , , | Leave a comment