Log files

Log.txt A PowerBuilder application that compiles successfully with the PowerBuilder native compiler might not compile successfully with the PowerBuilder to .NET compiler. At deployment time, PowerBuilder logs all compilation errors and warnings into the application’s log.txt file. The PowerBuilder to .NET compiler is stricter than the PowerBuilder native compiler, as described in Chapter 14, “Best Practices for .NET Projects.” If deployment fails, or if issues occur at runtime, review the errors and warnings in the log.txt file.

Pbtrace.log At runtime, a Web application logs all exceptions in the pbtrace.log file located in the applicationName_root\log directory. You can look into the call stack when an exception is thrown and map the call stack back to PowerScript code, from which you might find the root cause of any runtime errors.