error popup when stepping over
I get the following popup every time I step over my c++ code. Stepping into produces no errors.
166^error,msg="value has been optimized out"
File "C:\Users\Eric\AppData\Roaming\Sublime Text 3\Packages\SublimeGDB\sublimegdb.py", line 1373, in update_cursor gdb_variables_view.update_variables(sameFrame)
File "C:\Users\Eric\AppData\Roaming\Sublime Text 3\Packages\SublimeGDB\sublimegdb.py", line 725, in update_variables self.add_variable(var)
File "C:\Users\Eric\AppData\Roaming\Sublime Text 3\Packages\SublimeGDB\sublimegdb.py", line 672, in add_variable v = self.create_variable(exp)
File "C:\Users\Eric\AppData\Roaming\Sublime Text 3\Packages\SublimeGDB\sublimegdb.py", line 680, in create_variable if get_result(line) == "error":
File "C:\Users\Eric\AppData\Roaming\Sublime Text 3\Packages\SublimeGDB\sublimegdb.py", line 1324, in get_result sublime.error_message("%s\n\n%s" % (line, "\n".join(traceback.format_stack())))
Hi @E-Rockalanche, could you provide more details? GDB version, used compiler, compile flags, code sample.