Debugging problem

Boris Gorelik bgbg at pob.huji.ac.il
Mon Sep 30 07:57:15 BST 2002


On Sunday 29 September 2002 07:44, Vinh N. Pham wrote:
> Hi,
>     This is the very first time I use Kdevelop even though I has been
> programming for a long time.  My problem is with the debugging feature
> of Kdevelop.  First of all, I can't single step a simple program like
> Hello world.  It just go pass by and give the result when I hit start
> under the Debug menu.  I'm looking at the Makefile, the program compile
> with flag -O2 -O0 -g3.  I'm not quite sure what that means because one
> is for optimize and one is for debugging.  The result is some thing I
> probably don't know so I manually edit the Makefile to remove the -O2
> -O0 flags and recompile it.  I still can't single step the device.
>     Does anyone have a solution?
>

Hitting "start debugging" cause the program run till the first breakpoint. All 
you have to do is to add a break point to the first statement. 

> Thank you,
>
> Vinh N. Pham
>
>
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> »your-email-address«

-- 
Boris Gorelik
Mon, 30/Sep/2002, 24 Tishrey 5763
-------------------------------------------------
! Molecular Modelling Group !
! Pharmacy School, Hadassa Faculty of medicine !
! The Hebrew University of Jerusalem !
! http://www.md.huji.ac.il/models/group.html !
!
!------------------------------------------------


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list