-
Notifications
You must be signed in to change notification settings - Fork 16
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
[BUG] Debug strings are truncated #880
Comments
Related:
|
This issue has been marked as stale after 14 days of inactivity. @[ @mauroa @], could you please take a look? |
Same Problem here (Mac, Visual Studio Code) I've tried to serialize a class containing a List to a json and took me hours to realise, that it's only the inline view (either hovering the cursor over the string variable or using the "watch" tab) that is showing the "/0/0/0/0" string… A Trace to the console shows the correct string. Oh dear … Is there ANY workaround or extension available to somehow fix this? I really like it if i can trust a debugger ;) |
Same here, very annoying when debugging API reply with JSON, we should have a simple setting for chose the trunk size: ////////Visual Studio Code////// ///////.NET MAUI Extention////// //////C# Dev Kit Extention///// ////Maui version/// |
Describe the Issue
I run VSCode on a M1 (ARM) mac and I have the C#, C# DevKit and MAUI extensions.
When I debug a MAUI app on the iPhone simulator and:
. hover over a variable, its value is truncated to 100 chars.
. type "variableName" in the Debug Console, the output is also truncated to 100 chars
. Add a watch for "variableName" and right-click it and use the "Copy Value" function, the copied value is also truncated to 100chars
Steps To Reproduce
Using VSCode for mac with C#, C# DevKit and MAUI extensions, create a string that has more than 100chars. (
Assembly.GetExecutingAssembly().Location
should do it)Try to get the value of that variable using the debugger.
Se that the value is truncated to 100 chars if you try to hover it, to add it as watch and copy value or print it in the debug console.
Expected Behavior
Display/copy the whole (untruncated) value.
Environment Information
| VS Bug 1975720
The text was updated successfully, but these errors were encountered: