Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » gdb with cdt
gdb with cdt [message #166629] Mon, 27 March 2006 16:58 Go to next message
Eclipse UserFriend
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 #166653 is a reply to message #166629] Tue, 28 March 2006 01:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thomfischer.t-online.de

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 #166692 is a reply to message #166653] Tue, 28 March 2006 19:44 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>>
Previous Topic:To navigate through a C project , AST
Next Topic:Force large workspace rescanning (how?)
Goto Forum:
  


Current Time: Mon Sep 16 23:19:25 GMT 2024

Powered by FUDForum. Page generated in 0.04346 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top