Log Files – PB Docs 120


Log Files

A PowerBuilder application that compiles successfully with
the PowerBuilder native compiler might not compile successfully
with the PowerBuilder to .NET compiler. Log files help you trace compiler and runtime errors.

Log.txt

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 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_rootlog
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.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x