Replies: 1 comment
-
Today I found out something interesting and useful. I decided to make a clean portable setup of vs code, vs codium, mingw with ucrt and msvcrt runtime. Accidentally, I decided to start tests with variable of type int and I was surprised, a value of a veriable could be changed. I was thinking the problem was with json configs, but i was wrong. That some variabled turned out to be of fundamental data type. |
Beta Was this translation helpful? Give feedback.
-
OS: windows 10
VSCode version: 1.88.1
CodeLLDB version: 1.10.0
Compiler:
clang++ --version
(built by Brecht Sanders, r7) clang version 18.1.3
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: D:/gcc/bin
Debuggee: 1.exe (executable)
I can`t set variable value in debug panel, in variables tab.
But in debug console by "p name = value" it successfully changes.
If I use other debug extension like microsoft C++ or native debug, but with GDB, it works.
![image](https://private-user-images.githubusercontent.com/128206045/369739387-b167ce9a-32ed-4b32-86e4-36eaade73afe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDUxMDEsIm5iZiI6MTczOTAwNDgwMSwicGF0aCI6Ii8xMjgyMDYwNDUvMzY5NzM5Mzg3LWIxNjdjZTlhLTMyZWQtNGIzMi04NmU0LTM2ZWFhZGU3M2FmZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwODUzMjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zZTIzNjQ0NDg3MjYyYWZkMzlkZTJlZjU0YzAyODEwMTQxNDcyNjY1NjdkYjY0OGYxNmEyNjZjZTcwYzZmYWY0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.jKDrWJJWCab7z3A0SiQZTZ3QGBsbY5AWMwxr645yXB0)
I suppose the problem is with clang on windows or with something other relative.
Beta Was this translation helpful? Give feedback.
All reactions