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

Launch option to get only gdb output in console #451

Open
Groogy opened this issue Nov 21, 2024 · 2 comments
Open

Launch option to get only gdb output in console #451

Groogy opened this issue Nov 21, 2024 · 2 comments

Comments

@Groogy
Copy link

Groogy commented Nov 21, 2024

Hi! I have gdb setup to print out the info I want, and basically just want a fullscreen console that gets its breakpoints set from vscode. I can't use the external terminal as described in issue #76.

Was wondering if it would be possible to ask for an option in the launch config where you set the extension to only provide the gdb output? Would this be something hard to accomplish? Preferably I'd like to keep working in the integrated console.

Example of what I have and what I want
image
image

@GitMensch
Copy link
Collaborator

If this is added then GDB would need to be started in either the integrated or an external terminal - but within a shell, as you have a bunch of terminal escape sequences in here.

I think that would be possible as you can use a similar setup in Vim's Termdebug, which also integrates debugging via mi, as is done in this extension. Effectively this would mean 1 application terminal (either integrated or external), 1 debugging console as it is now and 1 gdb tty in another integrated/external terminal.

@Groogy
Copy link
Author

Groogy commented Nov 26, 2024

Do you mean it would pop up as an integrated terminal, like a task? I'd be fine with that.

My use case is that I want the nice functionality of starting the gdb session the extension provides, but then I want to mainly work with the gdb session through a terminal.

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