Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How To Debug Using GDB
How To Debug Using GDB [message #71980] Wed, 28 May 2003 17:31 Go to next message
Eclipse UserFriend
Originally posted by: edubez.hotmail.com

Hi,

I'm having a hard time trying to debug from inside Eclipse
using MinGW on Windows XP Pro.

When I try to debug I receive the following error:
"No symbol table is loaded. Use the file command"

I have reproduced the FAQ example, it compiles and run
without trouble but I can't debug.

Any suggestions ?

Thanks,
Eduardo
Re: How To Debug Using GDB [message #72092 is a reply to message #71980] Wed, 28 May 2003 18:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Check if the path of your executable contains spaces.

"Eduardo Bezerra" <edubez@hotmail.com> wrote in message
news:bb2ror$e8k$1@rogue.oti.com...
> Hi,
>
> I'm having a hard time trying to debug from inside Eclipse
> using MinGW on Windows XP Pro.
>
> When I try to debug I receive the following error:
> "No symbol table is loaded. Use the file command"
>
> I have reproduced the FAQ example, it compiles and run
> without trouble but I can't debug.
>
> Any suggestions ?
>
> Thanks,
> Eduardo
>
Re: How To Debug Using GDB [message #72583 is a reply to message #71980] Sun, 01 June 2003 14:22 Go to previous messageGo to next message
Henning Riedel is currently offline Henning RiedelFriend
Messages: 310
Registered: July 2009
Senior Member
Eduardo Bezerra schrieb:
> Hi,
>
> I'm having a hard time trying to debug from inside Eclipse
> using MinGW on Windows XP Pro.
>
> When I try to debug I receive the following error:
> "No symbol table is loaded. Use the file command"
>
> I have reproduced the FAQ example, it compiles and run
> without trouble but I can't debug.
>
> Any suggestions ?
>
This looks really much like you did not compile with debug infos.
Make sure, when you compile, that gcc/g++ have the '-g' switch set!
Re: How To Debug Using GDB [message #72645 is a reply to message #72092] Sun, 01 June 2003 18:01 Go to previous message
Eclipse UserFriend
Originally posted by: edubez.hotmail.com

Hi,

After removing the spaces from the project path and adding the
-g compiler switch I was able to debug my sample project.

Thank you for the help.

Best regards,
Eduardo

"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:bb2vf8$hs6$1@rogue.oti.com...
> Check if the path of your executable contains spaces.
>
> "Eduardo Bezerra" <edubez@hotmail.com> wrote in message
> news:bb2ror$e8k$1@rogue.oti.com...
> > Hi,
> >
> > I'm having a hard time trying to debug from inside Eclipse
> > using MinGW on Windows XP Pro.
> >
> > When I try to debug I receive the following error:
> > "No symbol table is loaded. Use the file command"
> >
> > I have reproduced the FAQ example, it compiles and run
> > without trouble but I can't debug.
> >
> > Any suggestions ?
> >
> > Thanks,
> > Eduardo
> >
>
>
Previous Topic:help with using compiler other than gcc for example Sun C compiler
Next Topic:serious problems under winME (make&gdb)
Goto Forum:
  


Current Time: Sat Aug 10 10:23:17 GMT 2024

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

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

Back to the top