Bug 6472

Summary: Debugger deletes watched variables after new run
Product: [Applications] kdevelop Reporter: Unknown <null>
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Digger 2000-07-19 11:52:02 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kdevelop
Version: 1.2
Severity: wishlist

Bugreport ID : 17:0214.07.00

Originator: Digger
E-Mail: digger4linux@gmx.de

Subject : Debugger deletes watched variables after new run

Error Class: change-request
Error Location: debugger
Priority: medium
Bug Description ---------------------------

After a new debugger-run all previous selected debug-variables are 
deleted.

How to repeat the error -------------------

set debug-variables and stop the debugger.

Bugfix or Workaround ----------------------

none

System Information ------------------------

KDevelop version: 1.2
KDE version: 1.1.2
QT version: 1.44
OS/Distribution: Caldera OpenLinux 2.3
Compiler: gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

misc :
Comment 1 András Manţia 2003-03-10 19:36:58 UTC
Subject: kdevelop/parts/debugger

CVS commit by amantia: 

Remember watch variables between sessions. This was an oftern reported bug, and I don't see the reason behind why wasn't fixed until now...

CCMAIL: 55281-done@bugs.kde.org
CCMAIL: 6472-done@bugs.kde.org
CCMAIL: 31457-done@bugs.kde.org


  M +1 -1      debuggerpart.cpp   1.53


--- kdevelop/parts/debugger/debuggerpart.cpp  #1.52:1.53
@@ -531,5 +531,5 @@ void DebuggerPart::stopDebugger()
     breakpointWidget->reset();
     framestackWidget->clear();
-    variableWidget->clear();
+    //variableWidget->clear();  //any reason why this should be cleared? It removes the watched variables, which is bad. (Andras)
     disassembleWidget->clear();
     disassembleWidget->slotActivate(false);