Sublime Forum

Debug with interactive input

#1

Is there a plugin for debugging while also accepting interactive input? or is there a way to use terminus and sublimeGDB to do this?

0 Likes

#2

I think this plugin provides what you are looking for https://github.com/daveleroy/sublime_debugger though I haven’t tried it myself yet, plus it looks like it supports only a handful of programming languages out of the box.

0 Likes

#3

Does it support c++?

0 Likes

#4

Yes through lldb.

0 Likes

#5

I tried using it but I get the error:
Failed to redirect stdio to a terminal. (Terminal agent did not respond within the allotted time.)

and then some assembly code is opened?

I’m using the configuration:

{
“type”: “lldb”,
“request”: “launch”,
“name”: “Launch”,
“program”: “${workspaceFolder}/executablename”,
“args”: [],
“cwd”: “${workspaceFolder}”
}

0 Likes