LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2010, 09:21 AM   #1
Bringo
Member
 
Registered: Mar 2010
Posts: 31

Rep: Reputation: 16
Question Unresolved Breakpoints in Eclipse CDT


Hello there,
When I set breakpoints in eclipse CDT under fedora 9 and debug the program. But it never stops at the set breakpoints while I expect it to stop here, so that I can see the state of the program such as the call stack and values of the variables/objects etc.
Code:
Multiple markers at this line
	- Unresolved breakpoint
	- Line breakpoint: dsdv.cc [line: 
	 129]
Please help me.

Note that:
1. There is no error in the code. I am debugging for the sake of understanding the code:
Code:
**** Build of configuration Default for project ns-2.34 ****

make all 
for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done
make[1]: Entering directory `/home/bringo/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
...
2. After the debug is terminated, below are contents of console window:
Code:
.gdbinit: No such file or directory.
No symbol "new" in current context.
No source file named dsdv.cc.
Stopped due to shared library event
No source file named dsdv.cc.
Stopped due to shared library event
No source file named dsdv.cc.
Detaching after fork from child process 3054.
Is Stopped due to shared library event has something to do with this issue?

Thanks
 
Old 07-08-2011, 08:41 AM   #2
fossilet
Member
 
Registered: Jul 2004
Location: Beijing, China
Distribution: Ubuntu, Fedora, CentOS
Posts: 33

Rep: Reputation: 0
What does the project makefile look like? You have to enable the debug option "-g" in GCC in the makefile for breakpoints to work.

Last edited by fossilet; 07-08-2011 at 08:43 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eclipse CDT issue oakhill Programming 2 12-16-2009 11:31 AM
configuring cdt on eclipse mohtasham1983 Programming 1 01-25-2007 10:22 PM
eclipse & cdt vshenoy Programming 1 04-27-2006 09:36 AM
Eclipse CDT for Amd64??? ssobeht Programming 4 02-07-2005 06:33 AM
autoindent in eclipse/CDT spuzzzzzzz Linux - Software 0 07-23-2004 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration