Unable to Add Expression in QT Creator
-
New to QT Creator
Every time I set a watch I get the error "Unable to Add Expression." Is the debugger extremely limited or do I have something configured wrong?
Windows 7 and Qt Creator 3.2.1
-
I feel like I'm losing a lot of time over this. Does anyone else have this issue with Qt Creator? Even a simple "you have something configured wrong because mine works fine" would be helpful at this point.
-
You seem to use MSVC/CDB to debug your application. CDB is very limited to what it allows to be evaluated "on the fly", it looks like the expression you want it to evaluate is considered "too complex"
The GCC(MinGW)/GDB combo would be more flexible in this particular case. But even there you should avoid function calls in evaluated expressions if possible for performance reasons.