- Ranjiv Sharma
- PowerBuilder
- Monday, 14 February 2022 10:44 AM UTC
Hi,
I am using ORCASCRIPT to do a build, how i disable the /pbdebug option on the EXE ?
From Help:
To generate PBDebug trace information:
Invoke the executable file using the /pbdebug command-line switch:
EXEFILE /pbdebug
As the application executes, PowerBuilder records the trace output in a file called exefile.dbg, which is a text file that you can read in any editor. For information about PBDebug tracing in the development environment, see Generating a trace file without timing information.
Enabling tracing
If you are compiling machine code, you must enable tracing at compile time by selecting Trace Information in the Project painter Compile Options group. If you have not enabled tracing when you compile for machine code, no trace information is generated and the /pbdebug switch has no effect.
If you compile your project in Pcode, the compiler automatically adds the information needed to enable tracing.
My example:
Cms.orc
BUILD executable "C:\GUI Build Area\CMS\cms.exe" "C:\GUI Build Area\CMS\Euroclear swirl white.ico" "" "YYYYYYYYYYYYYYYYYY" machinecode
C:\Program Files (x86)\Appeon\shared\PowerBuilder\orcascr170.exe" cms.orc "/tr n"
The above does not work how should i use the /tr option or is there another way to disable the tracing.
Thanks,
R.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.