ide/debugger/watches: Fixed stack overflow evaluating expressions e.g. < exp > as...
authorJerome St-Louis <jerome@ecere.com>
Thu, 29 May 2014 16:52:08 +0000 (12:52 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 29 May 2014 16:52:08 +0000 (12:52 -0400)
ide/src/debugger/debugTools.ec

index 8e8a2c5..4235883 100644 (file)
@@ -310,7 +310,7 @@ void DebugComputeExpression(Expression exp)
          switch(evalError)
          {
             case dummyExp:
-               if(evaluation)
+               if(evaluation && !strchr(evaluation, '<'))
                {
                   // Going back to parsing the expression string so as to catch inf/-inf/nan/-nan etc.
                   expNew = ParseExpressionString(evaluation);