1. C K
  2. PowerBuilder
  3. Friday, 27 October 2023 08:01 AM UTC

Hello,

I have to write a log to user actions, I want to get the current function / event name and row number in paint code.

Can I do it dynamic?

THanks,

CHava.

C K Accepted Answer Pending Moderation
  1. Friday, 27 October 2023 13:02 PM UTC
  2. PowerBuilder
  3. # 1

I mean line of code in the code editor,

Attachments (1)
Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 27 October 2023 12:35 PM UTC
  2. PowerBuilder
  3. # 2

Forgive me my ignorance, but what is "paint code"?

Comment
  1. Chris Pollach @Appeon
  2. Monday, 30 October 2023 11:28 AM UTC
Hi Miguel;

I think that App Profiling would work but I would suggest having the App turn this feature On / Off as needed by using the built-in Commands.

https://docs.appeon.com/pb2022/pbug/ch07s02s02.html#ug94233

Food for thought. ;-)

Regards ... Chris
  1. Helpful 1
  1. Miguel Leeuwe
  2. Monday, 30 October 2023 12:12 PM UTC
Yes, that's what we have implemented in our apps too.

Good tip!
  1. Helpful
  1. Miguel Leeuwe
  2. Monday, 30 October 2023 12:13 PM UTC
The only problem is that when your app GPFs, there's no log.
  1. Helpful
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.