ide/Debugger/Watches: Not showing 'uint' type when a symbol could not be resolved
authorJerome St-Louis <jerome@ecere.com>
Thu, 10 Jul 2014 11:03:26 +0000 (07:03 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 10 Jul 2014 11:03:26 +0000 (07:03 -0400)
- Parsing the address ended up showing a wrong 'uint' in the expression type column

ide/src/debugger/Debugger.ec
ide/src/debugger/debugTools.ec

index 7f4b802..5e5842e 100644 (file)
@@ -2630,6 +2630,7 @@ class Debugger
                SetInDebugger(true);
 
                SetThisClass(null);
+               // NOTE: DebugFindCtxTree() should be called only once for evaluating all watches in the watch window
                if(codeEditor && activeFrame)
                   DebugFindCtxTree(codeEditor.ast, activeFrame.line, 0);
                ProcessExpressionType(exp);
index e7a0815..c439f55 100644 (file)
@@ -195,7 +195,10 @@ void DebugComputeExpression(Expression exp)
          if(dataType)
             kind = dataType.kind;
          else
+         {
             exp.type = symbolErrorExp;
+            evalError = symbolErrorExp;
+         }
          switch(kind)
          {
             case intPtrType: case intSizeType: case _BoolType: