Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Debugger arguments

emr150
Beginner
335 Views
My apologies if this is not where this should belong, but I couldn't find an appropriate forum. I have a Fortran program that spawns up another Fortran program that I want to debug. The problem is, my parent process needs to pass on command-line arguments to the child process so it can find certain things on the system, but I cannot find a way to pass arguments on to the debugger to pass on to the program when it is run (i.e. similar to the --args option that can be passed to ddd/gdb). Our current workaround is to print the arguments to the parent's window, and then spawn the debugger, leaving it up to the user to copy the arguments from the window and paste them into the debugger GUI's "program arguments" box.

Thanks in advance.

P.S. -- Using idb 10.1-33, Build 20071113
0 Kudos
0 Replies
Reply