devxlogo

Is there a PB code profiling utility?

Is there a PB code profiling utility?

Question:
I was wondering whether you could direct me the appropriate product or contact for the following information.I am currently investigating the use of supporting test tools for PowerBuilder. In particular, I am interested in a test converage tool or utility. What I mean by this is, a tool that can monitor PowerBuilder executable files and provide statistics as to how much of the code was actually executed. If available, this tool could be used during unit testing to aid in identifying paths of logic within objects or modules that were not covered during a test execution. I am aware that such a utility exists for C programs, where the C compiler is set with a certain switch which allows statistics for the percentage of code covered during an application execution.

Answer:
Powerbuilder 6 introduces a new utility called the application profiler. The profiler allows you to execute your application and record the application usage to a log file.Then you can use the provided viewer to read the log, the viewer show a cross reference of all objects, functions and events, how often they were called and how much time was spent in each function.

devx-admin

Share the Post: