Debugger cannot evaluate function calls like myStringList.contains("bla")
-
wrote on 20 Jan 2016, 13:45 last edited by
Hello,
Can anybody tell me why the integrated debugger cannot evaluate expressions like
myStringList.indexOf("x") or myStringlist.contains("y")
Are those functions optimized (removed) by the compiler or is there another reason?
Thanks,
Christian -
Hello,
Can anybody tell me why the integrated debugger cannot evaluate expressions like
myStringList.indexOf("x") or myStringlist.contains("y")
Are those functions optimized (removed) by the compiler or is there another reason?
Thanks,
Christian@cvoelkel
about which debugger are we talking here?
To answer your question: Because the debugger most probably doesn't find the debug symbols. (e.g. PDB files in case of CDB/MSVC debugger on windows) -
wrote on 20 Jan 2016, 14:40 last edited by
Hello raven-worx,
we are talking about gdb (C:\Qt\Tools\mingw491_32\bin\gdb.exe) and all normal expressions are evaluated correctly. Only the specified function calls (and maybe some others) don't work.
regards,
Christian
1/3