-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Debugger does not start on C++, C#, Python, Go, PHP code #4221
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
Comments
Hmm...I'm wondering if this is a duplicate of any of these:
I am not familiar with C++. If you can update the repro steps with step-by-step instructions (assume no C++ experience), then I can try locally and look into this. |
Hmm...well if you can post repro steps, I can take a look! @senyai |
Let's try
and
|
Very similar issue microsoft/vscode#133178 |
It's not related to C++. I'm having the exact same issue with C#. And, indeed, this is the commit that fixed it in codespaces: microsoft/vscode@63504d9 It doesn't seem that has been applied here yet. |
The same problem as @globalww @PabloZaiden, when debugging python. |
@senyai thank you for the repro steps! VideoHere is a video of me going through those steps: https://youtu.be/-9y8GLocrqw (still uploading & processing atm)
Same thing happened to me. |
Thanks for linking to the commit! If fixing this means adding that commit to our fork of VS Code then we should be able to make that happen in our current sprint. Adding it to the version milestone. |
cc @TeffenEllis just giving you a heads-up on this! |
@jsjoeio Debugger does not start on Python, too. |
@jsjoeio @cleardusk @globalww, I believe this may be resolved in upstream’s version 1.60.2, which we’re targeting in next week’s release schedule. Thank you for your patience! |
I noticed whenever I right click in my c++ file and select "build and debug active file" it works, it also seems to work once after refreshing the page but when I immediately try and start the debugger it fails again, only after each refresh does it work one time again. Hope this contributes something at least RPReplay_Final1633012769.MP4 |
Same behavior for java debugging as well, at least any entry of type "attach" in launch.json is ignored and debugger wants to use the current open file. |
Same behavior for golang debugging as well |
For me, the debugging works on the first time i reload the window. Just saw that frank8922 wrote that too. Exactly the same behaviour for me. |
can not debug php also. |
Doesn't work also for me for a Python or a Go app. The solution is to use 3.11.0 |
Any updates? Was it fixed in v4.1.0? |
@lishunan246 I haven't checked but you're welcome to and then let us know! |
I confirm that the debugger works in v4.1.0. |
Yes,it works.thanks for your attention and hard works. |
Thank you @lishunan246 and @bonarealm |
OS/Web Information
code-server --version
: 3.12.0Steps to Reproduce
Expected
Debugger should start
Actual
Opens launch.json and nothing happens.
Deleting launch.json temporarily solves the problem but after recreating launch.json, same problem happens again.
Screenshot
Notes
After updating 3.12.0 this problem started to happen. It worked fine before.
I tried deleting all JSON configuration files and creating it again, reinstalling C/C++ plugin, and selecting other debug options, but nothing worked for me.
I'm not familiar with VSCode so maybe it is my configuration problem, and sorry if it is.
The text was updated successfully, but these errors were encountered: