You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

tayyarguzel

Beginner

  • "tayyarguzel" started this thread

Posts: 1

Location: Turkey

Occupation: Researcher

  • Send private message

1

Wednesday, September 22nd 2004, 1:12pm

Debugging with Kdevelop

Hi guys,

I have recenty installed Fedora Core 1 to continue my software development with Linux and moved all my source codes into Kdevelop. Luckily, thanx God that I was able to compile and execute my code w/o errors. It worked just fine.

Anyways, the question I have is that how can I set a breakpoint in the source code and debug it w/o using an external debug tool like Kdbg?

if there's no other way, could any1 suggest me an online tutorial or e-book in which I can find out how to use Kdbg?

n-e help is appreciated,

TayyaR.

djanubis

Beginner

Posts: 29

Location: Moulins France

Occupation: Software ingeneering

  • Send private message

2

Wednesday, September 22nd 2004, 2:47pm

RE: Debugging with Kdevelop

From the source code text go on the line where you ant to set your BP, open the Debug menu, and use the switch break point (or something like that, I only have a French install on this computer). The you can run your debug session.
Never patch not working code. Rewrite it !
Never patch badly designed classes. Recreate them cleanly.
(Excerpts from Computing Bible)

Home of the Lab project