mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Ide/Debuggers/Gdb_MI2 : finally solved local vars and tip bug
git-svn-id: svn://ultimatepp.org/upp/trunk@4881 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d54bc96b35
commit
1b681e44e0
1 changed files with 2 additions and 1 deletions
|
|
@ -971,7 +971,7 @@ void Gdb_MI2::UpdateLocalVars(void)
|
|||
{
|
||||
if(localVarExpressions.Find(locIdx[iLoc]) < 0)
|
||||
{
|
||||
MIValue var = MICmd(String("var-create - * \"") + locIdx[iLoc] + "\"");
|
||||
MIValue var = MICmd(String("var-create - @ \"") + locIdx[iLoc] + "\"");
|
||||
|
||||
// sometimes it has problem creating vars... maybe because they're
|
||||
// still not active; we just skip them
|
||||
|
|
@ -994,6 +994,7 @@ void Gdb_MI2::UpdateLocalVars(void)
|
|||
IndexSort(keys, localVarValues, CapitalLess());
|
||||
Vector<String> names;
|
||||
names <<= localVarNames.GetKeys();
|
||||
keys <<= localVarExpressions.GetKeys();
|
||||
IndexSort(keys, names, CapitalLess());
|
||||
localVarNames = names;
|
||||
localVarExpressions = keys;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue