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

Inline hints and line marker gone #35

Open
ghost opened this issue Nov 13, 2017 · 4 comments
Open

Inline hints and line marker gone #35

ghost opened this issue Nov 13, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 13, 2017

Atom: 1.21.2 x64
Electron: 1.6.15
OS: Arch Linux
dbg: 1.6.2

There are no hints if I debug step by step and I do not see which line I am currently in.

ProPuke added a commit to 31i73/atom-dbg-gdb that referenced this issue Nov 14, 2017
@ProPuke
Copy link
Member

ProPuke commented Nov 14, 2017

It might simply be your executable was not compiled with debug symbols, in which case it won't be able to track that stuff. If you look at the callstack in the topright and there aren't filenames or line numbers for your sourcefiles then this is the case.

I've improved the error reporting, so that if you try using breakpoints and this is the case it will now let you know.

If this is all it is then you'll need to make sure your executable is compiled with debug symbols included, then you should be good.

If not and you're still having problems could you enable Log to developer console in dbg-gdb's package settings (Edit > Preferences > Packages > dbg-gdb > Settings), try again, and send a copy of what you see in the developer console (View > Developer > Toggle Developer Tools)? That'll help me trackdown what might be going wrong. Thanks!

@ghost
Copy link
Author

ghost commented Nov 15, 2017

I have compiled my C-Application with -ggdb3. I am also able to see the callstack and changing variables when I step through my program. Only the line marker and inline hints are not visible.

Log (newest DGB): atom-console.log

@nithinmanne
Copy link

Doesn't work for me too, the panels work, but the file doesn't display anything

@OrenVo
Copy link

OrenVo commented Oct 11, 2019

Doesn't work for me, when the programe has more source code files.

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

3 participants