debugger malfunctioning

Vladimir Prus ghost at cs.msu.su
Sat Jan 22 08:18:35 GMT 2011


Y"Mahmood Naderan" <nt_mahmood at yahoo.com> wrote:

>Hi,
>I have noticed two malfunctions in kdevelop debugger but don't know
>whether they 
>are bug or not and if they really bugs, how to report them.
>1- Sometimes when I click "continue" to reach a breakpoint, the pointer
>comes to 
>the bug icon. That is fine, however after I press f10 (step over), I
>noticed 
>that debug pointer goes one step back (the line before bug icon) and
>then by 
>pressing f10 again it comes to the bug icon. Another f10 will forward
>the 
>pointer to the line after bug icon. In another word, consider I have
>put a 
>brackpoint on line 670:
>  668
>  669
>*670
>  671
>  672
>
>clicking on "continue" will show:
>  668
>  669
>->*670
>  671
>  672
>
>one f10:
>  668
>->  669
>*670
>  671
>  672
>
>Another f10:
>  668
>  669
>->*670
>  671
>  672
>
>Another f10:
>  668
>  669
>*670
>->  671
>  672
>
>Don't you think it is abnormal?
>
>2- Another malfunction is that, when I click "continue" it goes some
>line after 
>the bug icon. I have attached a picture that shows the behavior. You
>may say, 
>the debugger reached the bug icon and then I pressed "step over" but
>believe me 
>I just pressed "continue" and saw that. I didn't pressed "step over".
>
>Any idea about them?
>// Naderan *Mahmood;
>
>
>_______________________________________________
>kdevelop mailing list
>kdevelop at kdevelop.org
>https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop

Are you sure the program is not built with optimization?

-- 
Sent from a mobile device -- please excuse my brevity.




More information about the KDevelop mailing list