Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot set breakpoints
Cannot set breakpoints [message #158069] Tue, 15 November 2005 17:59 Go to next message
Eclipse UserFriend
Hi -

I'm using Eclipse 3.1, CDT 3.0.1. I find that I cannot set breakpoints
in a C++ project (using managed make - haven't tried standard make). The
debug perspective will open, and I _can_ run the gdb debugger. Its just
that the options to set breakpoints are grayed out in the Run... menu,
and Ctrl-Shift-B only makes a "B"(with underscore) symbol appear briefly
at the cursor, then it disappears.

I've tried it with my current project, but also with a vanilla "Hello
World" type CDT managed make project. No luck.

Any ideas?

Thanks,

Dan
Re: Cannot set breakpoints [message #158100 is a reply to message #158069] Wed, 16 November 2005 08:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

What happens when you double click on the ruler of the editor?

"Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
news:dldp09$1bs$1@news.eclipse.org...
> Hi -
>
> I'm using Eclipse 3.1, CDT 3.0.1. I find that I cannot set breakpoints
> in a C++ project (using managed make - haven't tried standard make). The
> debug perspective will open, and I _can_ run the gdb debugger. Its just
> that the options to set breakpoints are grayed out in the Run... menu,
> and Ctrl-Shift-B only makes a "B"(with underscore) symbol appear briefly
> at the cursor, then it disappears.
>
> I've tried it with my current project, but also with a vanilla "Hello
> World" type CDT managed make project. No luck.
>
> Any ideas?
>
> Thanks,
>
> Dan
Re: Cannot set breakpoints [message #158148 is a reply to message #158100] Wed, 16 November 2005 13:44 Go to previous messageGo to next message
Eclipse UserFriend
Nothing happens when I double click the ruler. But this question led me
to the solution -- I'm using the colorer editor plugin version 0.7.1
(http://colorer.sourceforge.net/). When I removed the plugin, I can set
breakpoints once again.

I couldn't discern any colorer settings which would enable/disable this
behavior, and a cursory trip through the colorer site didn't yield any
clues, either. I'll post a question on their forum later today.

Thanks for your help, Mikhail.

Dan


Mikhail Khodjaiants wrote:
> What happens when you double click on the ruler of the editor?
>
> "Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
> news:dldp09$1bs$1@news.eclipse.org...
>
>>Hi -
>>
>>I'm using Eclipse 3.1, CDT 3.0.1. I find that I cannot set breakpoints
>>in a C++ project (using managed make - haven't tried standard make). The
>>debug perspective will open, and I _can_ run the gdb debugger. Its just
>>that the options to set breakpoints are grayed out in the Run... menu,
>>and Ctrl-Shift-B only makes a "B"(with underscore) symbol appear briefly
>>at the cursor, then it disappears.
>>
>>I've tried it with my current project, but also with a vanilla "Hello
>>World" type CDT managed make project. No luck.
>>
>>Any ideas?
>>
>>Thanks,
>>
>>Dan
>
>
>
Re: Cannot set breakpoints [message #158173 is a reply to message #158148] Wed, 16 November 2005 14:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Do you have the same problem with Java files?

"Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
news:dlfuea$qsb$1@news.eclipse.org...
> Nothing happens when I double click the ruler. But this question led me to
> the solution -- I'm using the colorer editor plugin version 0.7.1
> (http://colorer.sourceforge.net/). When I removed the plugin, I can set
> breakpoints once again.
>
> I couldn't discern any colorer settings which would enable/disable this
> behavior, and a cursory trip through the colorer site didn't yield any
> clues, either. I'll post a question on their forum later today.
>
> Thanks for your help, Mikhail.
>
> Dan
>
>
> Mikhail Khodjaiants wrote:
>> What happens when you double click on the ruler of the editor?
>>
>> "Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
>> news:dldp09$1bs$1@news.eclipse.org...
>>
>>>Hi -
>>>
>>>I'm using Eclipse 3.1, CDT 3.0.1. I find that I cannot set breakpoints
>>>in a C++ project (using managed make - haven't tried standard make). The
>>>debug perspective will open, and I _can_ run the gdb debugger. Its just
>>>that the options to set breakpoints are grayed out in the Run... menu,
>>>and Ctrl-Shift-B only makes a "B"(with underscore) symbol appear briefly
>>>at the cursor, then it disappears.
>>>
>>>I've tried it with my current project, but also with a vanilla "Hello
>>>World" type CDT managed make project. No luck.
>>>
>>>Any ideas?
>>>
>>>Thanks,
>>>
>>>Dan
>>
>>
Re: Cannot set breakpoints [message #158209 is a reply to message #158173] Wed, 16 November 2005 17:06 Go to previous messageGo to next message
Eclipse UserFriend
Java files do not have the same problem! In other words, when I replaced
the colorer plugin (0.7.1) in my plugins folder and created a little
"Hello World" project, I could place breakpoints there by
double-clicking the ruler. (Obviously, the same is true when I remove
colorer plugin.).

Oddly, I found that when my c++ project had breakpoints set (which I had
done after I removed colorer), and then re-installed colorer, the
breakpoints still showed up in the ruler. I still couldn't double-click
and add new ones, nor could I double-click on the existing breakpints to
remove them.

Sounds like some problem with the combination of colorer (0.7.1 at
least) and the CDT editor.

Dan

Mikhail Khodjaiants wrote:
> Do you have the same problem with Java files?
>
> "Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
> news:dlfuea$qsb$1@news.eclipse.org...
>
>>Nothing happens when I double click the ruler. But this question led me to
>>the solution -- I'm using the colorer editor plugin version 0.7.1
>>(http://colorer.sourceforge.net/). When I removed the plugin, I can set
>>breakpoints once again.
>>
>>I couldn't discern any colorer settings which would enable/disable this
>>behavior, and a cursory trip through the colorer site didn't yield any
>>clues, either. I'll post a question on their forum later today.
>>
>>Thanks for your help, Mikhail.
>>
>>Dan
>>
>>
>>Mikhail Khodjaiants wrote:
>>
>>>What happens when you double click on the ruler of the editor?
>>>
>>>"Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
>>>news:dldp09$1bs$1@news.eclipse.org...
>>>
>>>
>>>>Hi -
>>>>
>>>>I'm using Eclipse 3.1, CDT 3.0.1. I find that I cannot set breakpoints
>>>>in a C++ project (using managed make - haven't tried standard make). The
>>>>debug perspective will open, and I _can_ run the gdb debugger. Its just
>>>>that the options to set breakpoints are grayed out in the Run... menu,
>>>>and Ctrl-Shift-B only makes a "B"(with underscore) symbol appear briefly
>>>>at the cursor, then it disappears.
>>>>
>>>>I've tried it with my current project, but also with a vanilla "Hello
>>>>World" type CDT managed make project. No luck.
>>>>
>>>>Any ideas?
>>>>
>>>>Thanks,
>>>>
>>>>Dan
>>>
>>>
>
Re: Cannot set breakpoints [message #158215 is a reply to message #158173] Wed, 16 November 2005 17:16 Go to previous messageGo to next message
Eclipse UserFriend
FYI - bug submitted to colorer.sf.net:

http://sourceforge.net/tracker/index.php?func=detail&aid =1358493&group_id=34855&atid=413324

Dan

Mikhail Khodjaiants wrote:
> Do you have the same problem with Java files?
>
> "Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
> news:dlfuea$qsb$1@news.eclipse.org...
>
>>Nothing happens when I double click the ruler. But this question led me to
>>the solution -- I'm using the colorer editor plugin version 0.7.1
>>(http://colorer.sourceforge.net/). When I removed the plugin, I can set
>>breakpoints once again.
>>
>>I couldn't discern any colorer settings which would enable/disable this
>>behavior, and a cursory trip through the colorer site didn't yield any
>>clues, either. I'll post a question on their forum later today.
>>
>>Thanks for your help, Mikhail.
>>
>>Dan
>>
>>
>>Mikhail Khodjaiants wrote:
>>
>>>What happens when you double click on the ruler of the editor?
>>>
>>>"Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
>>>news:dldp09$1bs$1@news.eclipse.org...
>>>
>>>
>>>>Hi -
>>>>
>>>>I'm using Eclipse 3.1, CDT 3.0.1. I find that I cannot set breakpoints
>>>>in a C++ project (using managed make - haven't tried standard make). The
>>>>debug perspective will open, and I _can_ run the gdb debugger. Its just
>>>>that the options to set breakpoints are grayed out in the Run... menu,
>>>>and Ctrl-Shift-B only makes a "B"(with underscore) symbol appear briefly
>>>>at the cursor, then it disappears.
>>>>
>>>>I've tried it with my current project, but also with a vanilla "Hello
>>>>World" type CDT managed make project. No luck.
>>>>
>>>>Any ideas?
>>>>
>>>>Thanks,
>>>>
>>>>Dan
>>>
>>>
>
Re: Cannot set breakpoints [message #158239 is a reply to message #158209] Thu, 17 November 2005 10:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

I'll install colorer and try to reproduce the problem. Maybe we do something
illegal in the CDT.

"Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
news:dlga8q$ci6$1@news.eclipse.org...
> Java files do not have the same problem! In other words, when I replaced
> the colorer plugin (0.7.1) in my plugins folder and created a little
> "Hello World" project, I could place breakpoints there by double-clicking
> the ruler. (Obviously, the same is true when I remove colorer plugin.).
>
> Oddly, I found that when my c++ project had breakpoints set (which I had
> done after I removed colorer), and then re-installed colorer, the
> breakpoints still showed up in the ruler. I still couldn't double-click
> and add new ones, nor could I double-click on the existing breakpints to
> remove them.
>
> Sounds like some problem with the combination of colorer (0.7.1 at least)
> and the CDT editor.
>
> Dan
>
> Mikhail Khodjaiants wrote:
>> Do you have the same problem with Java files?
>>
>> "Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
>> news:dlfuea$qsb$1@news.eclipse.org...
>>
>>>Nothing happens when I double click the ruler. But this question led me
>>>to the solution -- I'm using the colorer editor plugin version 0.7.1
>>>(http://colorer.sourceforge.net/). When I removed the plugin, I can set
>>>breakpoints once again.
>>>
>>>I couldn't discern any colorer settings which would enable/disable this
>>>behavior, and a cursory trip through the colorer site didn't yield any
>>>clues, either. I'll post a question on their forum later today.
>>>
>>>Thanks for your help, Mikhail.
>>>
>>>Dan
>>>
>>>
>>>Mikhail Khodjaiants wrote:
>>>
>>>>What happens when you double click on the ruler of the editor?
>>>>
>>>>"Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
>>>>news:dldp09$1bs$1@news.eclipse.org...
>>>>
>>>>
>>>>>Hi -
>>>>>
>>>>>I'm using Eclipse 3.1, CDT 3.0.1. I find that I cannot set breakpoints
>>>>>in a C++ project (using managed make - haven't tried standard make).
>>>>>The
>>>>>debug perspective will open, and I _can_ run the gdb debugger. Its just
>>>>>that the options to set breakpoints are grayed out in the Run... menu,
>>>>>and Ctrl-Shift-B only makes a "B"(with underscore) symbol appear
>>>>>briefly
>>>>>at the cursor, then it disappears.
>>>>>
>>>>>I've tried it with my current project, but also with a vanilla "Hello
>>>>>World" type CDT managed make project. No luck.
>>>>>
>>>>>Any ideas?
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Dan
>>>>
>>>>
>>
Re: Cannot set breakpoints [message #158295 is a reply to message #158209] Thu, 17 November 2005 14:16 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

As I have found out, the colorer plugin provides its own editor which
doesn't support breakpoint actions. If open a C/C++ file using C editor, you
will get the breakpoints actions.

"Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
news:dlga8q$ci6$1@news.eclipse.org...
> Java files do not have the same problem! In other words, when I replaced
> the colorer plugin (0.7.1) in my plugins folder and created a little
> "Hello World" project, I could place breakpoints there by double-clicking
> the ruler. (Obviously, the same is true when I remove colorer plugin.).
>
> Oddly, I found that when my c++ project had breakpoints set (which I had
> done after I removed colorer), and then re-installed colorer, the
> breakpoints still showed up in the ruler. I still couldn't double-click
> and add new ones, nor could I double-click on the existing breakpints to
> remove them.
>
> Sounds like some problem with the combination of colorer (0.7.1 at least)
> and the CDT editor.
>
> Dan
>
> Mikhail Khodjaiants wrote:
>> Do you have the same problem with Java files?
>>
>> "Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
>> news:dlfuea$qsb$1@news.eclipse.org...
>>
>>>Nothing happens when I double click the ruler. But this question led me
>>>to the solution -- I'm using the colorer editor plugin version 0.7.1
>>>(http://colorer.sourceforge.net/). When I removed the plugin, I can set
>>>breakpoints once again.
>>>
>>>I couldn't discern any colorer settings which would enable/disable this
>>>behavior, and a cursory trip through the colorer site didn't yield any
>>>clues, either. I'll post a question on their forum later today.
>>>
>>>Thanks for your help, Mikhail.
>>>
>>>Dan
>>>
>>>
>>>Mikhail Khodjaiants wrote:
>>>
>>>>What happens when you double click on the ruler of the editor?
>>>>
>>>>"Daniel Sperka" <djsperka@ucdavis.edu> wrote in message
>>>>news:dldp09$1bs$1@news.eclipse.org...
>>>>
>>>>
>>>>>Hi -
>>>>>
>>>>>I'm using Eclipse 3.1, CDT 3.0.1. I find that I cannot set breakpoints
>>>>>in a C++ project (using managed make - haven't tried standard make).
>>>>>The
>>>>>debug perspective will open, and I _can_ run the gdb debugger. Its just
>>>>>that the options to set breakpoints are grayed out in the Run... menu,
>>>>>and Ctrl-Shift-B only makes a "B"(with underscore) symbol appear
>>>>>briefly
>>>>>at the cursor, then it disappears.
>>>>>
>>>>>I've tried it with my current project, but also with a vanilla "Hello
>>>>>World" type CDT managed make project. No luck.
>>>>>
>>>>>Any ideas?
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Dan
>>>>
>>>>
>>
Previous Topic:BUG??: optional parameters in c++ functions call
Next Topic:How to set CDT to use a "cross-debugger" GDB?
Goto Forum:
  


Current Time: Thu Jul 17 13:07:43 EDT 2025

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

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

Back to the top