Bug 65818 - Changing watched variable value in GDB window does not reflect in Watch window
Summary: Changing watched variable value in GDB window does not reflect in Watch window
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: 3.0.0a7
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
: 124984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-10 17:51 UTC by Iztok Kobal
Modified: 2006-05-19 16:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iztok Kobal 2003-10-10 17:51:03 UTC
Version:           3.0.0a7 (using KDE 3.0.5)
Installed from:    SuSE
Compiler:          gcc version 3.2
OS:          Linux (i686) release 2.4.19-4GB

Change the value of the watched variable in GDB window in GDB command line. GDB does it. Watch window does not reflect it. Duplicating watched variable in the Watch window adds new instance with the correct value wjile the original display retains old one.

When we are here - changing the watched variable value via right-click menu would not harm, would it ?
Comment 1 Casteyde.Christian 2004-02-08 16:57:14 UTC
Modifying the variable from GUI would be fine.
But this bug masks a wider problem: I think the watch
window should be refreshed after executing every manual
gdb command anyway, since they may desynchronize the
integrated debugger.
Comment 2 Jens Dagerbo 2006-04-18 21:06:42 UTC
*** Bug 124984 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Prus 2006-04-19 08:03:19 UTC
For the record: on the MI branch, any user command cause full refresh of all windows, including variable windows with all watches. This will be merged to 3.4 branch in near future.
Comment 4 Vladimir Prus 2006-05-19 16:12:11 UTC
SVN commit 542513 by vprus:

Merge MI branch (/branches/work/kdevelop-debugger-mi).

BUG: 65818
BUG: 81277
BUG: 81670
BUG: 102319
BUG: 117842
BUG: 124041


 A             DESIGN.txt   branches/work/kdevelop-debugger-mi/DESIGN.txt#542512
 M  +7 -2      Makefile.am  
 A             TODO.txt   branches/work/kdevelop-debugger-mi/TODO.txt#542512
 M  +321 -113  breakpoint.cpp  
 M  +85 -93    breakpoint.h  
 D             callbacks.h  
 M  +1 -3      dbgcommand.cpp  
 M  +5 -10     dbgcommand.h  
 M  +13 -36    dbgcontroller.h  
 M  +13 -4     dbgpsdlg.cpp  
 M  +5 -0      dbgpsdlg.h  
 M  +1 -1      dbgtoolbar.cpp  
 M  +1 -1      debuggerconfigwidget.cpp  
 M  +4 -6      debuggerconfigwidgetbase.ui  
 M  +1 -0      debuggerdcopinterface.h  
 M  +152 -138  debuggerpart.cpp  
 M  +10 -2     debuggerpart.h  
 M  +1 -3      debuggertracingdialog.cpp  
 M  +349 -120  framestackwidget.cpp  
 M  +79 -18    framestackwidget.h  
 M  +359 -363  gdbbreakpointwidget.cpp  
 M  +28 -13    gdbbreakpointwidget.h  
 M  +53 -45    gdbcommand.cpp  
 M  +160 -32   gdbcommand.h  
 M  +835 -1291 gdbcontroller.cpp  
 M  +175 -61   gdbcontroller.h  
 M  +205 -15   gdboutputwidget.cpp  
 M  +69 -1     gdboutputwidget.h  
 M  +29 -202   gdbparser.cpp  
 M  +3 -30     gdbparser.h  
 A             label_with_double_click.cpp   branches/work/kdevelop-debugger-mi/label_with_double_click.cpp#542512
 A             label_with_double_click.h   branches/work/kdevelop-debugger-mi/label_with_double_click.h#542512
 M  +58 -88    memviewdlg.cpp  
 M  +12 -18    memviewdlg.h  
 M  +3 -0      mi/Makefile.am  
 M  +107 -0    mi/gdbmi.cpp  
 M  +124 -102  mi/gdbmi.h  
 M  +21 -11    mi/milexer.cpp  
 M  +3 -5      mi/milexer.h  
 M  +143 -115  mi/miparser.cpp  
 M  +27 -2     mi/miparser.h  
 A             mi/tokens.h   branches/work/kdevelop-debugger-mi/mi/tokens.h#542512
 A             tests/breakpoints (directory)   branches/work/kdevelop-debugger-mi/tests/breakpoints#542512
 A             tests/dll (directory)   branches/work/kdevelop-debugger-mi/tests/dll#542512
 A             tests/infinite_loop (directory)   branches/work/kdevelop-debugger-mi/tests/infinite_loop#542512
 M  +22 -7     tests/print_pointers/print_pointers.cpp  
 M  +7 -2      tests/print_pointers/print_pointers.kdevelop  
 A             tests/segfault (directory)   branches/work/kdevelop-debugger-mi/tests/segfault#542512
 A             tests/threads (directory)   branches/work/kdevelop-debugger-mi/tests/threads#542512
 A             tests/tracing (directory)   branches/work/kdevelop-debugger-mi/tests/tracing#542512
 M  +1 -1      tests/two_module/main.cpp  
 M  +1008 -592 variablewidget.cpp  
 M  +194 -91   variablewidget.h