Debugger problem in CDT 3.0 RC3 [message #151196] |
Tue, 16 August 2005 08:45 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03720 seconds