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

List:       kdevelop-bugs
Subject:    [Bug 111828] Debugger fronend in incorrect state
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2006-01-24 11:12:45
Message-ID: 20060124111245.3743.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=111828         




------- Additional Comments From ghost cs msu su  2006-01-24 12:12 -------
SVN commit 501919 by vprus:

Don't disable the "Interrupt" menu item and the "Interrupt" button
in gdb window when gdb is in "paused" state. The problem is that gdb
does not allow to correctly test if application is running or not, especially
when application was started by user-defined command containing "continue" 
inside. In such cases it's not possible to stop the application at all.

The problem with this patch is that after interrupting the application,
the current source line is not shown. That will be fixed later,
when I port everything to MI.

CCBUG: 111828


 M  +1 -1      gdbcontroller.cpp  
 M  +4 -2      gdboutputwidget.cpp  
 M  +0 -1      kdevdebugger.rc  


--- branches/kdevelop/3.4/languages/cpp/debugger/gdbcontroller.cpp #501918:501919
 @ -382,7 +382,7  @
             delete cmdList_.take(i);
     }
 
-    if (dbgProcess_ && stateIsOn(s_appBusy))
+    if (dbgProcess_)
         dbgProcess_->kill(SIGINT);
 }
 
--- branches/kdevelop/3.4/languages/cpp/debugger/gdboutputwidget.cpp #501918:501919
 @ -137,15 +137,17  @
         m_userGDBCmdEditor->setEnabled(false);
         return;
     }
+    else
+    {
+        m_Interrupt->setEnabled(true);
+    }
 
     if (statusFlag & s_appBusy)
     {
-        m_Interrupt->setEnabled(true);
         m_userGDBCmdEditor->setEnabled(false);
     }
     else
     {
-        m_Interrupt->setEnabled(false);
         m_userGDBCmdEditor->setEnabled(true);
     }
 }
--- branches/kdevelop/3.4/languages/cpp/debugger/kdevdebugger.rc #501918:501919
 @ -67,7 +67,6  @
     <Action name="debug_memview"/>
   </enable>
   <disable>
-    <Action name="debug_pause"/>
     <Action name="debug_core"/>
     <Action name="debug_attach"/>
   </disable>


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

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