Title: Is there a way to see the full toString() content of a variable, including newlines? · Issue #1111 · microsoft/vscode-java-debug · GitHub
Open Graph Title: Is there a way to see the full toString() content of a variable, including newlines? · Issue #1111 · microsoft/vscode-java-debug
X Title: Is there a way to see the full toString() content of a variable, including newlines? · Issue #1111 · microsoft/vscode-java-debug
Description: When debugging and hoving over a variable, or watching the variable in the Variables/Watch panels, is there a way to see the full result of toString() including the newlines? Environment Operating System: Linux JDK version: 1.8 Visual St...
Open Graph Description: When debugging and hoving over a variable, or watching the variable in the Variables/Watch panels, is there a way to see the full result of toString() including the newlines? Environment Operating ...
X Description: When debugging and hoving over a variable, or watching the variable in the Variables/Watch panels, is there a way to see the full result of toString() including the newlines? Environment Operating ...
Opengraph URL: https://github.com/microsoft/vscode-java-debug/issues/1111
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is there a way to see the full toString() content of a variable, including newlines?","articleBody":"When debugging and hoving over a variable, or watching the variable in the Variables/Watch panels, is there a way to see the full result of `toString()` *including the newlines*?\r\n\r\n##### Environment\r\n- Operating System: Linux\r\n- JDK version: 1.8\r\n- Visual Studio Code version: 1.63.2\r\n- Java extension version: 1.2.0\r\n- Java Debugger extension version: 0.37.0\r\n\r\n##### Steps To Reproduce\r\n1. Create an instance of a `SomeClass` class that has:\r\n\r\n```\r\n@Override\r\npublic String toString() {\r\n return \"toto\\ntiti\";\r\n}\r\n```\r\n\r\n2. Add a breakpoint on a line where you can hover the instance to inspect it.\r\n\r\n##### Current Result\r\n\r\nThe popup debug window displays: `SomeClass@123 \"toto`\r\n\r\n##### Expected Result\r\n\r\nThe popup debug window displays: \r\n```\r\nSomeClass@123 \r\n\"toto\r\ntiti\"\r\n```\r\n\r\n##### Additional Informations\r\n\r\nThis can especially useful when the `toString()` result is something like a JSON object that is human friendly formatted.\r\n\r\nIdeally the full result would be in a zone where it could be easily copied!\r\n\r\n","author":{"url":"https://github.com/electrotype","@type":"Person","name":"electrotype"},"datePublished":"2022-01-16T21:12:10Z","url":"https://github.com/microsoft/vscode-java-debug/issues/1111"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6ab52084-a27d-ee6d-b891-c3bb219b5c2d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E94C:35C921:23BAA42:30D825E:6B07347D |
| html-safe-nonce | 84b7b7e55c931382f0c4f71221393bc6a623766c5180ed9cd876b6f3874b810d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTRDOjM1QzkyMToyM0JBQTQyOjMwRDgyNUU6NkIwNzM0N0QiLCJ2aXNpdG9yX2lkIjoiMTMzODgxNzAxMTA1MjM5MzU5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d0ae8b35c464095d1a72c2aa66e47383e79e6c402928d230eb90b6e69e26714e |
| hovercard-subject-tag | issue:1105188828 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-java-debug/1111/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3551b50afb3f08e22e25d3f801b1ed3375e98dbd7656d3d9c8bf65da41533f09/microsoft/vscode-java-debug/issues/1111 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3551b50afb3f08e22e25d3f801b1ed3375e98dbd7656d3d9c8bf65da41533f09/microsoft/vscode-java-debug/issues/1111 |
| og:image:alt | When debugging and hoving over a variable, or watching the variable in the Variables/Watch panels, is there a way to see the full result of toString() including the newlines? Environment Operating ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | electrotype |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a60952cad7efb2604ea85e500208f51c1ec1943aa260ac605c13eb46a1ed83b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-java-debug git https://github.com/microsoft/vscode-java-debug.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 102584737 |
| octolytics-dimension-repository_nwo | microsoft/vscode-java-debug |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102584737 |
| octolytics-dimension-repository_network_root_nwo | microsoft/vscode-java-debug |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 345c27626db08417fdfc84278a4415ae9a48d8f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width