mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
updated.
This commit is contained in:
parent
947d72198c
commit
f4d3ce7b13
1 changed files with 22 additions and 0 deletions
|
@ -1,3 +1,25 @@
|
|||
2003-03-19 Alain Magloire
|
||||
|
||||
Some applications, like recursive code, have a very deep stackframes
|
||||
bigger > 50. This can turn out to be a problem, as the VariableManager
|
||||
will try to update all the variables and there can be a lot of local
|
||||
variable in all those stackframes. We can not use:
|
||||
"-var-update *"
|
||||
either since on gdb-5.2.1, for reasons unknown to me this will make
|
||||
gdb unstable/crash. So the approach is to only update variables
|
||||
in the current stackframe.
|
||||
The advantage we only update a small set of variables.
|
||||
The downside if we have side effects i.e. pointers pass to
|
||||
argument and modifying the pointer affect the callees memory.
|
||||
But this is a small price to pay and usually C/C++ programmer
|
||||
are interrested to see changes of variables in the current stack
|
||||
not changes 20 stack before.
|
||||
|
||||
* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
|
||||
Method update() only check the variable in the scope of the
|
||||
current stackframe(the highest stack). This will include
|
||||
any globals.
|
||||
|
||||
2003-03-19 Alain Magloire
|
||||
|
||||
Base on PR/patch from Chris Songer.
|
||||
|
|
Loading…
Add table
Reference in a new issue