Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Breakpoints, source file debug problems
Breakpoints, source file debug problems [message #55079] Fri, 20 December 2002 16:19 Go to next message
Eclipse UserFriend
I'm new to CDT and am trying to get through some of the basics.

I have a simple "hello" type of CPP program and succeeded in the build
and run phases just fine. I am using CDT on windows with cygwin
installed.

However, in trying to debug:
1) My breakpoints do not seem to take hold - when I lauch, it looks like
I stop at main as expected, but any step or go will not stop at a
further specified breakpoint, and runs to termination.
2) I get a message -
"The source could not be shown as the file '' was not found"

I'm sure that I just missed something basic on this - any suggestions?

Thanks,
Don
Re: Breakpoints, source file debug problems [message #55159 is a reply to message #55079] Sat, 21 December 2002 13:04 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

Make sure that you compiled your program with '-g' option. This usually
happens when you try to debug an executable with no debug information.

Mikhail Khodjaiants

"Donald P. Pazel" <pazel@us.ibm.com> wrote in message
news:3E03897F.B5E701D0@us.ibm.com...
> I'm new to CDT and am trying to get through some of the basics.
>
> I have a simple "hello" type of CPP program and succeeded in the build
> and run phases just fine. I am using CDT on windows with cygwin
> installed.
>
> However, in trying to debug:
> 1) My breakpoints do not seem to take hold - when I lauch, it looks like
> I stop at main as expected, but any step or go will not stop at a
> further specified breakpoint, and runs to termination.
> 2) I get a message -
> "The source could not be shown as the file '' was not found"
>
> I'm sure that I just missed something basic on this - any suggestions?
>
> Thanks,
> Don
>
Previous Topic:Building CDT?
Next Topic:cdt download page
Goto Forum:
  


Current Time: Tue Jun 03 07:37:18 EDT 2025

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

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

Back to the top