1. Andrey Kozeletskiy
  2. PowerBuilder
  3. Tuesday, 15 September 2020 11:31 AM UTC

I've built application which create Trace file with code

TraceOpen( ls_trace_path, Clock! )
TraceEnableActivity(ActProfile!)
TraceBegin ( "app" )

When this code runs in PowerBuilder enviroment with checked "Enabled Tracing" in "System Option" then created .pbp correctly opening.

But .pbp file created by build application started with .exe separately from PowerBuilder enviroment won't open with error

Files .pbl, .pdb and .exe are placed in same path where creating file .pbp as described in documentation.

Andrey Kozeletskiy Accepted Answer Pending Moderation
  1. Sunday, 20 September 2020 09:20 AM UTC
  2. PowerBuilder
  3. # 1

Hmmm... i've moved 

TraceOpen

to another place and now it's worked.

Comment
  1. Chris Pollach @Appeon
  2. Sunday, 20 September 2020 14:29 PM UTC
Excellent news!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 15 September 2020 20:01 PM UTC
  2. PowerBuilder
  3. # 2

Hi Andrey;

  I have all this built into my framework and more. If you like, you can download the OrderEntry Demo App and check out the TraceXxxxx() commands that I use.

  Also, the latest version of the framework also allows your App to parse & display the PBP file data in real time within the PB App!  ;-)

FYI: http://chrispollach.blogspot.com/2020/08/2020r2.html

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.