-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Debugger rewrites date-times being passed through the args array #238514
Comments
Are you sure? I don't see this with node, only c++, and I'd expect they are parsing the args strangely. microsoft/vscode-cpptools#13241 |
This was referenced Feb 19, 2025
I am not sure. I spent some time debugging a local version of vscode and it appeared to originate in vscode not the extension. |
gregg-miskelly
pushed a commit
to microsoft/MIEngine
that referenced
this issue
Feb 24, 2025
When parsing launch options from JSON, the JSON parser's default behavior is – for whatever reason – to parse slightly datetime-ish looking strings as date objects. This PR explicitly forbids this behavior when parsing launch options. Partially fixes #1491, microsoft/vscode-cpptools#13241 and microsoft/vscode#238514.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this issue occur when all extensions are disabled?: I need to use the C++ extension but it appears this bug does not occur within the C++ extension.
Steps to Reproduce:
2025-01-16T14:30:00.0Z
, e.g.01/16/2025 14:30:00
Somehow vscode is silently rewriting my argument.
I briefly stepped through a local build of vscode ealier and this does not appear to be done in the C++ extension.
I was debugging a program earlier which requires a specific timestamp format and this vscode bug made it impossible for me to debug my program in the IDE.
The text was updated successfully, but these errors were encountered: