Comments (2)
@testforstephen please take a look.
from java-debug.
cannot reproduce.
i tried gradle dependencies by debugging a sample gradle project https://github.com/gradle/gradle-build-scan-quickstart, i can set breakpoint at the source code from third party jar com.google.guava:guava
.
Here are some additional details about how does the debugger set breakpoint at third-party jars.
- when set breakpoint in third-party jar, the client will send jdt schema
jdt://contents/xxx.jar/xxx.class
to debugger server, then the debugger will find the Java ModelIClassFile
by the uri. - The debugger need parse the fully qualified class where the breakpoint locates before setting it in debuggee jvm. Currently, the debugger will use jdt ast parser to parse the source contents.
- For every breakpoint request, the debugger will new an ASTParser, and set the IClassFile as the parser's source by invoking
setSource(IClassFile)
, that means the IClassFile's attached source code will be used. When eclipse workspace cannot detect the attached source correctly for the target class file, the parser would fail.
Looks like your error happens when the ASTParser tries to get the attached source for xercesImpl.jar.
from java-debug.
Related Issues (20)
- Typo findMethodLocation instead of findMethodLocaiton HOT 1
- i cant debug java core classes HOT 1
- Missing very recent dependency fails build process HOT 2
- StepInto method target doesn't work if the method is part of wrapped expression
- [Critical] Cannot debug multiline nested method expression's lambda statements
- Are there any plans for 0.50 release? HOT 3
- CompletionItem of completions response always have `start = 0` and text prefix inclusion is mixed HOT 1
- Dependency location causing build errors
- [critical] Improve lambda breakpoints when using gradle build server HOT 2
- Build failure: TypeFilter cannot be resolved to a type HOT 4
- Remote eclipse binary repository removed HOT 1
- Install fails HOT 6
- Building fails with unprovided dependency HOT 1
- Standardize Documentation Across All Formatters for Clarity and Consistency
- [Question]How to send the "vscode.java.startDebugSession" command to jdt.ls HOT 1
- java.lang.UnsupportedClassVersionError
- resolveClasspath is failing to serialize response in gson
- java.lang.NullPointerException: Cannot invoke "String.split(String)" because "fullyQualifiedTypeName" is null
- Race condition at the end of hot code replacement causes inconsistent UI state
- [critical] Fail to debug with java 23 - Unrecognized option: -Xnoagent HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-debug.