Debugger cannot evaluate function calls like myStringList.contains("bla")

  • 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?


  • Moderators

    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)

  • 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.


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.