LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-23-2004, 05:39 PM   #1
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Rep: Reputation: 15
Kdevelop Does not stop at Breakpoints


All Breakpoints seem to be pending and the Debugger does not stop at Break Points..

LOoks like they are all pending Breakpoints. and are being skipped. How can I set Non-Pending Breakpoints....?

Any Ideas most welcome?
 
Old 09-28-2004, 03:53 PM   #2
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
Kedeveop Question

Does ANyone have an idea how to make brealpoints work in Kdevelop.
 
Old 09-29-2004, 02:17 AM   #3
chjallet
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Kdevelop

hello

i've got the same problem.
So I'm trying to install the last kdevelop (3.1) on my mandrake 10.1 community.
but there's always conflicts between pachages. :-/

On which kdevelop do you have this problem?

chris

c.jallet@laposte.net
 
Old 09-29-2004, 03:19 PM   #4
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
KDevelop Version is 3.0.1 on Mandrake 10.0
 
Old 09-29-2004, 03:32 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Several Things Make sure you've compiled a debug version of your code Check Project->Build Configuration->debug

Second Are you starting the program simply by executing the program or did you pick start in Debugger. Either Debug->Start or on the tool bar.

Also make sure you've enabled the Debug plugin. Under Project->Project Options->Plugins Make sure Debugger Frontend is ticked. This is done by default, but its worth checking. ALso make sure gdb is installed.
 
Old 09-29-2004, 04:02 PM   #6
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
Exclamation

Several Things Make sure you've compiled a debug version of your code Check Project->Build Configuration->debug

THIS I dont see in my KDevelop. I cannot find a Build COnfiguration thing at all

Second Are you starting the program simply by executing the program or did you pick start in Debugger. Either Debug->Start or on the tool bar.

I start Debugger from Debug---> Start and also from the toolbar it appears as a "-->" (right arrow)

Also make sure you've enabled the Debug plugin. Under Project->Project Options->Plugins Make sure Debugger Frontend is ticked. This is done by default, but its worth checking. ALso make sure gdb is installed.

Debugger frontend is checked
GDB is surely installed as I can use DDD as GUI to GDB.

__________________
If at first you don't succeed.... your a programmer.
 
Old 09-29-2004, 04:17 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Where are the breakpoints? Constructors, and definitions ( int i; ) don't always work for breakpoints.

As for the Build Configuration, thats very strange. Check Project->Project Options->Configure Options. Check to see if you have diffrent configurations, and that one of them is debug.
 
Old 09-29-2004, 04:25 PM   #8
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
pasted a piece of code w/Bpoint (placed on a function call)


BP1 sipomatic_init(&sipomatic,url);
if (file!=NULL) sipomatic_set_annouce_file(&sipomatic,file);

while (run_cond){
sipomatic_iterate(&sipomatic);
---------------------------------------------------------------

I do not have configure options under project->proj Options.

Can I send u a screenshot of my Project-->Proj Options to uremail address.
 
Old 09-29-2004, 04:54 PM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Sure send me a screenshot.

( I've sent you an email to make it easier. )

Last edited by leonscape; 09-29-2004 at 04:55 PM.
 
Old 09-29-2004, 05:27 PM   #10
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Okay got the screenshot, what you probably need is the Build Options. Also check Display demangled names and Setting breakpoints on Library loading.

Last edited by leonscape; 09-29-2004 at 05:28 PM.
 
Old 09-29-2004, 05:31 PM   #11
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
I am sorry, but where is this BUILD OPTIONs..can u point me to that.
 
Old 09-29-2004, 05:40 PM   #12
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
I have sent you screen shot of the BUILD OPTIONS.....nothings there seems to be making any effect at all...Let me know if you see anything that would help build this Project in Debug Mode
 
Old 09-29-2004, 05:43 PM   #13
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Try the make tab, also what I said above about the Debug options.
 
Old 09-29-2004, 05:45 PM   #14
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
I sent you the make tab too....do you see anything I cud do there....?
 
Old 09-29-2004, 05:56 PM   #15
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
I created a dummy project "hellow world" and I see the Build Configuration --> Debug option in that one. However, I don see that in Project whose source code Iam trying to import into Kdevelop.

Kdevelop opens that project ...but does not give the option to build in in Debug mode.

How can I import source code into Kdevelop seamlessly
 
  


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
How do I stop services from restarting after I stop them? M$ISBS Linux - Software 3 10-27-2005 08:13 PM
Using KDevelop for C++ d00bid00b Programming 4 09-20-2005 03:22 PM
Setting Breakpoints jonty_11 Programming 2 02-16-2005 01:53 PM
Kdevelop HELP! Phalloides Linux - Software 12 01-20-2005 07:22 PM
using kdevelop 2.0 vytalelementz Linux - Software 0 02-07-2003 12:54 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:00 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