mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 16:22:40 -06:00
Gdb: #1 Added additional logs when kill close handle operation failed while breaking execution. #2 Gdb now supports displays up 200 entries of the stack to avoid ide not response when recursion is infinit. #3 Gdb now reports failure when breakpoint is not setted to TheIDE. #4 Remove infinit recursion in Ide::OnBreakpoint method.
git-svn-id: svn://ultimatepp.org/upp/trunk@12028 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
bfecf1d5db
commit
08feb01681
3 changed files with 46 additions and 14 deletions
|
|
@ -367,9 +367,17 @@ void Ide::OnBreakpoint(int i)
|
|||
{
|
||||
if(!editfile.IsEmpty() && !designer && debugger) {
|
||||
String q = editor.GetBreakpoint(i);
|
||||
if(q[0] != 0xe && !debugger->SetBreakpoint(editfile, i, q))
|
||||
if(q[0] != 0xe && !debugger->SetBreakpoint(editfile, i, q)) {
|
||||
auto event = editor.WhenBreakpoint;
|
||||
editor.WhenBreakpoint = {};
|
||||
|
||||
if(!q.IsEmpty())
|
||||
editor.SetBreakpoint(i, q);
|
||||
editor.SetBreakpoint(i, Null);
|
||||
else
|
||||
editor.SetBreakpoint(i, "1");
|
||||
|
||||
editor.WhenBreakpoint = event;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue