On Wed, Nov 13, 2002 at 10:08:17PM +0100, Manuel Barrena wrote:
> Hi,
> I have got installed Dev-C++ 4.9.6.0 and Insight5 (20001125-1) for windows
> 98/NT.
> I have a couple of troubles:
> ...
> * I am trying to debug a program, I load the project and after I select
> Debugging (F8) I am sent to Insight. The first screen there is empty (it
> should load in an automatic way the program to debugg, I think), so I have to
> load manually the .exe file to debugg, but now I do not find any place to
> write the parameters to the program, does anybody know how to tell the
> debugger the list of parameters to the program?
>
> Thanks a lot.
The debugger will automatically load the program you pass as its first
argument; that is, the command invoking the debugger should look like:
"debugger_name executable_name"
To run program with some arguments, try the following debugger commands:
"break main"
"run argument_1 argument_2"
This way the program will be started and will pause at the beginning of
the "main" function.
--
>> gisan >>
|