gdb with cdt [message #166629] |
Mon, 27 March 2006 16:58 |
Eclipse User |
|
|
|
Originally posted by: ivan.zahoranszky.gmail.com
I am trying to debug my C++ code from Eclipse with CDT plugin and with
Cygwin but I failed. The debugger process output says:
"mi_cmd_stack_list_frames: No stack."
And I am not able to debug my code.
Can anybody help me?
I use:
- Eclipse 3.1.1
- CDT 3.0.2
- and CygWin GNU gdb 6.3.50_2004-12-28-cvs
Thanks,
Ivan
|
|
|
|
Re: gdb with cdt [message #166692 is a reply to message #166653] |
Tue, 28 March 2006 19:44 |
Eclipse User |
|
|
|
Originally posted by: ivan.zahoranszky.gmail.com
I tried you wrote but unfortunately it doesn't work.
Now it says: "Error crating session: Exec error: Launching failed"
Thomas Fischer wrote:
>
> try
>
> under debug -> create,manage and run configuration ->
> tab enviroment:
> add variable PATH = c:\cygwin\bin;
> select "replace native enviroment with specified enviroment"
>
> tab debugger:
> Debugger: select "Cygwin GDB Debugger"
> GDB Debugger: C:\cygwin\bin\gdb.exe
>
> see also http://eclipsewiki.editme.com/UsingCDTWithCygwin
>
|
|
|
Re: gdb with cdt [message #166888 is a reply to message #166692] |
Thu, 30 March 2006 10:42 |
Eclipse User |
|
|
|
Originally posted by: arne.anka.ginguppin.de
have a look at the log -- maybe it will help you to fix what went wrong.
On Tue, 28 Mar 2006 21:44:14 +0200, Ivan Zahoranszky
<ivan.zahoranszky@gmail.com> wrote:
> I tried you wrote but unfortunately it doesn't work.
> Now it says: "Error crating session: Exec error: Launching failed"
>
>
> Thomas Fischer wrote:
>>
>> try
>>
>> under debug -> create,manage and run configuration ->
>> tab enviroment:
>> add variable PATH = c:\cygwin\bin;
>> select "replace native enviroment with specified enviroment"
>>
>> tab debugger:
>> Debugger: select "Cygwin GDB Debugger"
>> GDB Debugger: C:\cygwin\bin\gdb.exe
>>
>> see also http://eclipsewiki.editme.com/UsingCDTWithCygwin
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02584 seconds