1. mike S
  2. PowerBuilder
  3. Thursday, 16 May 2024 21:38 PM UTC

Do we have a full list of the actual startup parameters - including any 'undocumented' ones?

for example: app.exe /debug 

 

I have an application that gets started up to run as a commandline application.  Has been working for a long time (couple of years?) and today it started up in some sort of variation of debug mode.  My guess is that the command line arguments inadvertently contained a PB specific startup parameter.

 

 

Doing a search in help under /debug does not provide a list of command line arguments or really anything.  Is /debug still documented?

 

 

 PB 2023R3 3356

Accepted Answer
mike S Accepted Answer Pending Moderation
  1. Friday, 17 May 2024 11:41 AM UTC
  2. PowerBuilder
  3. # Permalink

these command line values start up in debug mode EVEN IF THEY HAVE OTHER CHARACTERS following them.  In my case -DEB5 was the value that started the application up in debug mode.

-PBD
-DEB

 /PBD
/DEB

 so, PBDug and DEBug do NOT startup the application debug mode, PBD and DEB do. 

PBD starts up with a list of dlls and DEB does not.

 

as per appeon: "the application will only detect the above parameters, no other parameters"

 

i have asked to have a pb.ini runtime option added to have the PB runtime ignore all command line parameters and simply send everything to the application.

 

Comment
  1. mike S
  2. Friday, 17 May 2024 15:02 PM UTC
in addition, appeon is looking into changing PB so that only PDDEBUG and DEBUG will do anything.
  1. Helpful 2
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 17 May 2024 02:17 AM UTC
  2. PowerBuilder
  3. # 1

Hi Mike;

FYI: https://docs.appeon.com/pb2019/pbug/ch33s08.html

Regards ... Chris

Comment
  1. mike S
  2. Friday, 17 May 2024 02:54 AM UTC
thanks, that lists /pbdebug



it does not mention /debug



what other hidden ones are there?



  1. Helpful 1
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 17 May 2024 01:15 AM UTC
  2. PowerBuilder
  3. # 2

Hi Mike,

Is it /PBDEBUG that you're looking for?

Comment
  1. mike S
  2. Friday, 17 May 2024 02:57 AM UTC


Yes, but /debug also generates a debug file.





  1. Helpful 1
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.