-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
vscode macOS c++ debug external console does nothing #5343
Comments
I am having the same experience, Terminal.app pops up, but no debug session starts... |
I posted to vscode github too but they said there is no problem with it and its a problem with cpp extension |
This is the the same issue as #5079, the workaround from that issue #5079 (comment) worked for me. |
Same problem on macOS Big Sur. |
Can you explain what you mean? Maybe throw some steps up? Thanks @WenshengGe |
Has there been any update on this issue since? |
Type: Debugger
Describe the bug
I am on vscode on mac trying to debug c++ In program where we have to input but it doesnt work as vscode launches external console(terminal) but nothing happens in the terminal.
I am using "externalConsole: true" the terminal launches but debugger doesnt work after launching terminal and nothing happens.
if "externalConsole: false" and program without input then it works perfectly.
I think its problem with latest vscode update for macos.I have windows too and there external console works perfectly while debugging.
here is my launch.json config.
Here is the code i am trying to debug.
`
log
--> R (setFunctionBreakpoints-5): {"type":"response","request_seq":5,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]},"seq":167} <-- C (configurationDone-6): {"command":"configurationDone","type":"request","seq":6} --> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (3090) Send Event AD7LoadCompleteEvent\n"},"seq":171} 1: (3090) Send Event AD7LoadCompleteEvent --> R (configurationDone-6): {"type":"response","request_seq":6,"success":true,"command":"configurationDone","body":{},"seq":170} --> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"Warning: Debuggee TargetArchitecture not detected, assuming x86_64.\n"},"seq":174} Warning: Debuggee TargetArchitecture not detected, assuming x86_64. --> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (3100) <-1012-exec-run\n"},"seq":176} 1: (3100) <-1012-exec-run <-- C (threads-7): {"command":"threads","type":"request","seq":7} --> R (threads-7): {"type":"response","request_seq":7,"success":true,"command":"threads","body":{"threads":[]},"seq":179}
The text was updated successfully, but these errors were encountered: