[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: Questions about BreakpointController
From:       Niko Sams <niko.sams () gmail ! com>
Date:       2010-05-03 7:15:35
Message-ID: g2k629542d41005030015l1ad06003se63a65a1b2749aac () mail ! gmail ! com
[Download RAW message or body]

Hi,

> how do I notify kdevelop that a breakpoint was hit? I'm trying to use
> setHitCount() function, but I wasn't able to make the debug cursor show on
> the editor.
call IBreakpointController::hit, see gdb/breakpointcontroller.cpp line 408.
But that does not set the current exection line icon, that happens in
gdb/debugsession.cpp line 756 (showStepInSource signal)

> And how I'm able to handle breakpoints that are not
> user-created, i.e. generated by the debugger or by other entity?
> Thanks,
They get added in gdb BreakpointController::handleBreakpointList and
BreakpointController::update updates one individual breakpoint.

Niko

-- 
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic