gdb in sublime text 3: debugger doesn't stop at breakpoints and exits immediately

admin

Administrator
Staff member
I've setup SublimeGDB by following the instructions on the github page. It wasn't running so I included a .sublime-project file to the specifications outlined here: <a href="https://thenigh7sh4de.wordpress.com/2014/03/28/setting-up-sublimegdb/" rel="nofollow noreferrer">https://thenigh7sh4de.wordpress.com/2014/03/28/setting-up-sublimegdb/</a> .

I'm able to set breakpoints, but when I press f5 to run I see the SublimeGDB interface flicker and then disappear, with the message "GDB Session Ended".

My particular c++ program takes
Code:
cin
input and it doesn't seem to display. My build system is C++ Single File and I'm running in Ubuntu.