Title: Debug console will hangs on java exception text · Issue #719 · microsoft/vscode-java-debug · GitHub
Open Graph Title: Debug console will hangs on java exception text · Issue #719 · microsoft/vscode-java-debug
X Title: Debug console will hangs on java exception text · Issue #719 · microsoft/vscode-java-debug
Description: When running java application and it's output is redirected to debug console, this output will just hang on exception and no other output will be printed from application. Environment Operating System: Windows 7 JDK version: JDK8 Visual ...
Open Graph Description: When running java application and it's output is redirected to debug console, this output will just hang on exception and no other output will be printed from application. Environment Operating Sys...
X Description: When running java application and it's output is redirected to debug console, this output will just hang on exception and no other output will be printed from application. Environment Operating...
Opengraph URL: https://github.com/microsoft/vscode-java-debug/issues/719
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Debug console will hangs on java exception text","articleBody":"When running java application and it's output is redirected to debug console, this output will just hang on exception and no other output will be printed from application.\r\n\r\n##### Environment\r\n- Operating System: Windows 7\r\n- JDK version: JDK8\r\n- Visual Studio Code version: 1.40.1 (tested on insider too)\r\n- Java extension version: 0.53.1\r\n- Java Debugger extension version: 0.23.0\r\n\r\n##### Steps To Reproduce\r\n1. Install clean VS code insider \r\n2. Install Java extension pack\r\n3. Load java application below\r\n4. Redirect console output to \"internalConsole\" via launch.json and launch main method\r\n5. Debug console will show only two first lines, then hangs.\r\n\r\nApplication to reproduce - will just print this exception instead of raising it, result is the same.\r\n```java\r\npublic class TestApplication {\r\n public static void main(String[] args) {\r\n System.out.println(\"Exception in thread \\\"main\\\" java.lang.IllegalArgumentException: failed\");\r\n System.out.println(\"\tat TestApplication.main(TestApplication.java:7)\");\r\n System.out.println(\"\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)\");\r\n System.out.println(\"\tat TestApplication.main(TestApplication.java:7)\");\r\n }\r\n}\r\n```\r\n\r\n##### Current Result\r\nDebug console will show only two first lines, then hangs.\r\n\r\n##### Expected Result\r\nDebug console will show all lines and continue to print next messages (if any).\r\n\r\n##### Additional Informations\r\nSome other exceptions will print just OK, it seems that somehow the code which is trying to determine in which file this exception happened will crash when it encounters static class (with dollar character) or non-existing file/class in exception text (at \u003cfile\u003e).\r\n\r\n##### Peviously submitted to vscode at:\r\nhttps://github.com/microsoft/vscode/issues/84061","author":{"url":"https://github.com/FrantisekDurajka","@type":"Person","name":"FrantisekDurajka"},"datePublished":"2019-11-20T16:32:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/719/vscode-java-debug/issues/719"}
| 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:43ffa08e-a1d6-faaf-4412-6732570d25b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFBE:3C3DDE:18265FE:1FD9AD1:6A5C785F |
| html-safe-nonce | 76eb5674eeaa761614316a0e5e219e06220da585046aa42bef40d84daa5d937b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkJFOjNDM0RERToxODI2NUZFOjFGRDlBRDE6NkE1Qzc4NUYiLCJ2aXNpdG9yX2lkIjoiNjgxMDY2MTA0NzU3NjA2NjE0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | edd6948150c061b725d241fbfdecdee5412a34e2e64d1bc51060f30c4fdc8ac9 |
| hovercard-subject-tag | issue:525920216 |
| 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/719/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba0224f010a41a91ed4aa44692b5d80e6df2ad39409f23dded52bfa888da4bf8/microsoft/vscode-java-debug/issues/719 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba0224f010a41a91ed4aa44692b5d80e6df2ad39409f23dded52bfa888da4bf8/microsoft/vscode-java-debug/issues/719 |
| og:image:alt | When running java application and it's output is redirected to debug console, this output will just hang on exception and no other output will be printed from application. Environment Operating Sys... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FrantisekDurajka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width