Hello Chuck -
First of all: thank you for answering.
I did not solve the problem yet.
Here are the answers to your questions.
To begin with, this is the code that I'm debugging:
hello.cpp
---
#include<iostream>
int
main()
{
cout << "hello world\n";
return 0;
}
---
At 10.26 01/07/01 -0700, you wrote:
>Luigi -
>....
>
>First be sure that you have downloaded the Insight version 5 debugger ...
- I'am working with Win98, "hello" was compiled by Dev C++ version 4 - and
I have Cygnus Insight Debugger version 5 (help-about says: this GDB was
configured as "i686-pc-cygwin")
>What message do you get in the Console Window when that happens?
- I get no message in the console window when I start the debugger, but when
I start the program "hello" from the source window, the console window says:
Argument required (target name) try 'help target'
Breakpoint 1, main() at //c/hello/hello.cpp:6
Of course at this point the program is hanged and the only thing I can do
is kill the source window (which kills the debugger).
>What happens when you enter RUN in the console window?
- the program "hello" executes as expected (strange isn't it ?!)
>Verify that the
>Target is set to EXEC in the Target Selection area ...
the target was initially blank, but selecting EXEC is of no help.
--
gisan
|