Bug #1041

TheIDE - "Failed to start application" dialog should escape ide debuging mode

Added by Zbigniew Rebacz about 9 years ago. Updated almost 9 years ago.

Status:ApprovedStart date:04/11/2015
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:IDESpent time:-
Target version:-

Description

If dialog "Failed to start application" occures it should close ide debuger interface.

P.S.
Quite annoying ;)

GdbMI2Fix.diff Magnifier (331 Bytes) Zbigniew Rebacz, 04/11/2015 09:49 PM

History

#1 Updated by Zbigniew Rebacz about 9 years ago

It seems that it is Gdb_MI2 related problem. The solution is relatively easy:

    if(!started)
    {
        Exclamation(t_("Failed to start application"));
        IdeEndDebug(); // <- Add this, to prevent 
        return;
    }

Official patch, without comment is in diff form.

#2 Updated by Zbigniew Rebacz about 9 years ago

  • Status changed from New to Patch ready

#3 Updated by Zbigniew Rebacz about 9 years ago

It seems I missed some information. First of all is file information (ide/Debuggers - Gdb_MI2.cpp - line 141). And of course comment isn't completed in my last post:

    if(!started)
    {
        Exclamation(t_("Failed to start application"));
        IdeEndDebug(); // <- Closed all debug panes.
        return;
    }

#4 Updated by Miroslav Fidler almost 9 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF