Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugger problem in CDT 3.0 RC3
Debugger problem in CDT 3.0 RC3 [message #151196] Tue, 16 August 2005 08:45 Go to next message
Eclipse UserFriend
Originally posted by: grkoma.nospamgmail.com

Hello there,

I have a projects where some source files are linked, and some are
stored in project directory. When I set a breakpoint inside some linked
file, debugger won't stop on it. Breakpoint in files which reside in
project directory are ok. I had no problem with setting breakpoints in
linked files before.

Breakpoint view shows checkmark for breakpoint set in files inside
project dir, while breakpoint in linked files are enabled, but without
checkmark.

Setting breakpoint in gdb console works without problems. Breakpoints
set in gdb console are also visible in breakpoints view, but when the
program is restarted, they are visible, but not valid (as they are set
through UI). Setting it again in gdb console works.

Is there some solution to this problem ? My projects contains lots of
linked files to some shared company sources, and it is realy annoying
to have breakpoints broken like this.

Best regards,
Marko Nikolic
Re: Debugger problem in CDT 3.0 RC3 [message #151206 is a reply to message #151196] Tue, 16 August 2005 09:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: grkoma.nospamgmail.com

I forgot to mention my configuration:

Eclipse 3.1
CDT 3.0 RC3
Fedora Core 4
Java 1.5.0

Marko Nikolic


Marko Nikolic wrote:
> Hello there,
>
> I have a projects where some source files are linked, and some are
> stored in project directory. When I set a breakpoint inside some linked
> file, debugger won't stop on it. Breakpoint in files which reside in
> project directory are ok. I had no problem with setting breakpoints in
> linked files before.
>
> Breakpoint view shows checkmark for breakpoint set in files inside
> project dir, while breakpoint in linked files are enabled, but without
> checkmark.
>
> Setting breakpoint in gdb console works without problems. Breakpoints
> set in gdb console are also visible in breakpoints view, but when the
> program is restarted, they are visible, but not valid (as they are set
> through UI). Setting it again in gdb console works.
>
> Is there some solution to this problem ? My projects contains lots of
> linked files to some shared company sources, and it is realy annoying
> to have breakpoints broken like this.
>
> Best regards,
> Marko Nikolic
Re: Debugger problem in CDT 3.0 RC3 [message #151214 is a reply to message #151196] Tue, 16 August 2005 11:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

Did you add the linked files' directories to the source lookup path?

"Marko Nikolic" <grkoma@nospamgmail.com> wrote in message
news:dds947$kel$1@news.eclipse.org...
> Hello there,
>
> I have a projects where some source files are linked, and some are
> stored in project directory. When I set a breakpoint inside some linked
> file, debugger won't stop on it. Breakpoint in files which reside in
> project directory are ok. I had no problem with setting breakpoints in
> linked files before.
>
> Breakpoint view shows checkmark for breakpoint set in files inside
> project dir, while breakpoint in linked files are enabled, but without
> checkmark.
>
> Setting breakpoint in gdb console works without problems. Breakpoints
> set in gdb console are also visible in breakpoints view, but when the
> program is restarted, they are visible, but not valid (as they are set
> through UI). Setting it again in gdb console works.
>
> Is there some solution to this problem ? My projects contains lots of
> linked files to some shared company sources, and it is realy annoying
> to have breakpoints broken like this.
>
> Best regards,
> Marko Nikolic
Re: Debugger problem in CDT 3.0 RC3 [message #151223 is a reply to message #151214] Tue, 16 August 2005 12:14 Go to previous message
Eclipse UserFriend
Originally posted by: grkoma.nospamgmail.com

Thank you Mikhail, that solved my problem !

Regards,
Marko Nikolic


Mikhail Khodjaiants wrote:
> Did you add the linked files' directories to the source lookup path?
>
> "Marko Nikolic" <grkoma@nospamgmail.com> wrote in message
> news:dds947$kel$1@news.eclipse.org...
>
>>Hello there,
>>
>>I have a projects where some source files are linked, and some are
>>stored in project directory. When I set a breakpoint inside some linked
>>file, debugger won't stop on it. Breakpoint in files which reside in
>>project directory are ok. I had no problem with setting breakpoints in
>>linked files before.
>>
>>Breakpoint view shows checkmark for breakpoint set in files inside
>>project dir, while breakpoint in linked files are enabled, but without
>>checkmark.
>>
>>Setting breakpoint in gdb console works without problems. Breakpoints
>>set in gdb console are also visible in breakpoints view, but when the
>>program is restarted, they are visible, but not valid (as they are set
>>through UI). Setting it again in gdb console works.
>>
>>Is there some solution to this problem ? My projects contains lots of
>>linked files to some shared company sources, and it is realy annoying
>>to have breakpoints broken like this.
>>
>>Best regards,
>>Marko Nikolic
>
>
>
Previous Topic:CDT problem linking to dll
Next Topic:Hyperlinkig problem
Goto Forum:
  


Current Time: Sat Jul 27 19:31:25 GMT 2024

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

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

Back to the top