Title: Cannot set the breakpoint for file from included path when restart debug session · Issue #24 · microsoft/java-debug · GitHub
Open Graph Title: Cannot set the breakpoint for file from included path when restart debug session · Issue #24 · microsoft/java-debug
X Title: Cannot set the breakpoint for file from included path when restart debug session · Issue #24 · microsoft/java-debug
Description: Project: https://github.com/fbricon/vscode-java-demo System: Ubuntu Git clone the project Open with VSCode and wait for the project initialized with language server Config launch.json Start debugging Issue: Debug into SpringApplication w...
Open Graph Description: Project: https://github.com/fbricon/vscode-java-demo System: Ubuntu Git clone the project Open with VSCode and wait for the project initialized with language server Config launch.json Start debuggi...
X Description: Project: https://github.com/fbricon/vscode-java-demo System: Ubuntu Git clone the project Open with VSCode and wait for the project initialized with language server Config launch.json Start debuggi...
Opengraph URL: https://github.com/microsoft/java-debug/issues/24
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot set the breakpoint for file from included path when restart debug session","articleBody":"Project: https://github.com/fbricon/vscode-java-demo\r\nSystem: Ubuntu\r\n\r\n1. Git clone the project\r\n2. Open with VSCode and wait for the project initialized with language server\r\n3. Config launch.json\r\n4. Start debugging\r\n\r\nIssue: \r\n1. Debug into SpringApplication which is not part of the workspace but in the included path\r\n2. Set a breakpoint on the SprintApplication\r\n3. Restart debug session. \r\n\r\nCannot set the breakpoint for SpringApplication\r\n\r\n```console\r\n[Error - 11:22:49 PM] Sep 13, 2017 11:21:52 PM DebugSession dispatch exception:java.lang.IllegalStateException\r\n[Error - 11:37:19 PM] Sep 13, 2017 11:21:52 PM File not found: '/vscode-java-demo/SpringApplication.java'\r\nResource '/vscode-java-demo/SpringApplication.java' does not exist.\r\norg.eclipse.core.internal.resources.ResourceException: Resource '/vscode-java-demo/SpringApplication.java' does not exist.\r\n\tat org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:335)\r\n\tat org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:209)\r\n\tat org.eclipse.core.internal.resources.File.getContents(File.java:275)\r\n\tat org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:1190)\r\n\tat org.eclipse.jdt.internal.core.CompilationUnit.getContents(CompilationUnit.java:652)\r\n\tat org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1125)\r\n\tat org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:813)\r\n\tat com.microsoft.java.debug.plugin.internal.JdtSourceLookUpProvider.getFullyQualifiedName(JdtSourceLookUpProvider.java:103)\r\n\tat com.microsoft.java.debug.core.adapter.handler.SetBreakpointsRequestHandler.convertClientBreakpointsToDebugger(SetBreakpointsRequestHandler.java:110)\r\n\tat com.microsoft.java.debug.core.adapter.handler.SetBreakpointsRequestHandler.handle(SetBreakpointsRequestHandler.java:76)\r\n\tat com.microsoft.java.debug.core.adapter.DebugAdapter.dispatchRequest(DebugAdapter.java:72)\r\n\tat com.microsoft.java.debug.core.adapter.ProtocolServer.dispatchRequest(ProtocolServer.java:201)\r\n\tat com.microsoft.java.debug.core.adapter.ProtocolServer.processData(ProtocolServer.java:171)\r\n\tat com.microsoft.java.debug.core.adapter.ProtocolServer.start(ProtocolServer.java:95)\r\n\tat com.microsoft.java.debug.plugin.internal.JavaDebugServer$2.run(JavaDebugServer.java:131)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n\r\n\r\n```\r\n\r\n```json\r\n{\r\n // Use IntelliSense to learn about possible attributes.\r\n // Hover to view descriptions of existing attributes.\r\n // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387\r\n \"version\": \"0.2.0\",\r\n \"configurations\": [\r\n \r\n {\r\n \"type\": \"java\",\r\n \"name\": \"Debug (Launch)\",\r\n \"request\": \"launch\",\r\n \"mainClass\": \"com.redhat.vscode.demo.DevoxxApplication\",\r\n \"args\": \"\",\r\n \"sourcePaths\": [\r\n \"${workspaceRoot}\"\r\n ]\r\n },\r\n {\r\n \"type\": \"java\",\r\n \"name\": \"Debug (Attach)\",\r\n \"request\": \"attach\",\r\n \"hostName\": \"localhost\",\r\n \"port\": 0,\r\n \"timeout\": 30000,\r\n \"sourcePaths\": [\r\n \"${workspaceRoot}\"\r\n ]\r\n }\r\n ]\r\n}\r\n```\r\n\r\n","author":{"url":"https://github.com/yaohaizh","@type":"Person","name":"yaohaizh"},"datePublished":"2017-09-14T06:42:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/24/java-debug/issues/24"}
| 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:5de83958-3d60-53b7-f958-1b08de227847 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB3E:3081D4:65D22:81492:6A5BE375 |
| html-safe-nonce | 7011c4d0e3bdbbac0b6e6b68d0e7ecfc474cc7c98c4a4dfb3b2ebe7b6846484a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjNFOjMwODFENDo2NUQyMjo4MTQ5Mjo2QTVCRTM3NSIsInZpc2l0b3JfaWQiOiI3NjI1MDI4OTE2MTAyMjkyMzQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d0f0ae75479a5aac856653affc68a63037d6e774a3a2382fb3af4ad82bfacec0 |
| hovercard-subject-tag | issue:257611557 |
| 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/java-debug/24/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f6930e918c5fe7bc4d4ebc6d849153931fedd5b638967cdb57af6fb2f94929eb/microsoft/java-debug/issues/24 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6930e918c5fe7bc4d4ebc6d849153931fedd5b638967cdb57af6fb2f94929eb/microsoft/java-debug/issues/24 |
| og:image:alt | Project: https://github.com/fbricon/vscode-java-demo System: Ubuntu Git clone the project Open with VSCode and wait for the project initialized with language server Config launch.json Start debuggi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yaohaizh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/java-debug git https://github.com/microsoft/java-debug.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 102583752 |
| octolytics-dimension-repository_nwo | microsoft/java-debug |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102583752 |
| octolytics-dimension-repository_network_root_nwo | microsoft/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