Trace
is True
The Problem:
You want to debug an existing UNIFACE
application, but you do not have access to the source code, so how
do you get round this?
The Solution:
Use the assignment file setting:
$trace_is_true
When this is in place, you can start
the debugger using the Gold-Y keystroke.
What you will notice is that the
debugger is not fired instantly, but is activated the next line of
proc code is fired, be that a menu option or code in a component
trigger or wherever.
So how can you disable this feature?
- Disable the Gold-Y keystroke in
the keyboard translation table
- Put some code (any code, but not
just comments) in the Application Switch Keyboard trigger.
So as of version 7.204 there are
several different ways to start the debugger include:
- /deb command line option for a
start-up shell
- run the udbg.exe and point it at
the running UNIFACE application using the /deb option
- idf /tst /deb formname, will start
the debugger against the form specified.
- debug proc code statement
- $trace_is_true in the assignment
file
Are there any others ? A small prize
to the first person who identifies one not listed.
|