Site hosted by Angelfire.com: Build your free website today!
 

PowerBuilder - Debug File Generation


Runtime Control

myprog.exe /pbdebug

Development Environment Control

Add the following two lines to the [PB] section of your PB.INI file :

DebugOutFile=c:\temp\pb.dbg
PBDebug=ON

If PowerBuilder is already loaded, you will need to exit PB, and start it back up to get the settings to be accepted.  

Also, PB is sometimes finicky about writing to the debug file if it doesn't exist.  Simply create a simple notepad file with nothing in it.