SublimeGDB icon indicating copy to clipboard operation
SublimeGDB copied to clipboard

error popup when stepping over

Open E-Rockalanche opened this issue 6 years ago • 1 comments

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())))

E-Rockalanche avatar Sep 22 '19 02:09 E-Rockalanche

Hi @E-Rockalanche, could you provide more details? GDB version, used compiler, compile flags, code sample.

imihajlow avatar Oct 16 '21 09:10 imihajlow