Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error popup when stepping over #118

Open
E-Rockalanche opened this issue Sep 22, 2019 · 1 comment
Open

error popup when stepping over #118

E-Rockalanche opened this issue Sep 22, 2019 · 1 comment

Comments

@E-Rockalanche
Copy link

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

@imihajlow
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants