ITEM: E4006L

How to use xde with executables with command line arguments




Question:

How can I debug a program that has command line arguments?  The xde 
debugger works fine when debugging an executable without command line
arguments but seems to ignore any command line arguments that may be
present. 

AIX level 3.2.4. 

Response:

You should load the executable by either starting xde with the
executable name (xde execname) or using the load subcommand in the 
Input/Output window at the xde> prompt (xde> load execname).

Next, you should use the run subcommand (at the xde> prompt) to run
the executable and specify the command line arguments.

Here is the syntax:

run [arguments] [\File] [>>File] [2>File] [2>>File] \\
    [>&File] [>>&File]

where:
   arguments are the command line arguments
   \File redirects standard output to File
   >>File appends redirected standard output to File
   2>File redirects standard error to File
   2>> appends redirected standard error to File
   >&File redirects standard output and standard error to File
   >>&File appends redirected standard output and standard error to File 


Support Line: How to use xde with executables with command line arguments ITEM: E4006L
Dated: October 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:54
Comments or suggestions? Contact us