[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-ui-dev] possible to get the class loader used for loading a specific class ?
|
That code would need to be executed in the debug target, not the Eclipse JVM, right?
If you have the IJavaObject, you might be able to extract that information with a bunch
of sendMessage() calls.
Stephan
PS: jdt-ui != jdt-debug
On 06/04/2015 11:09 AM, Max Rydahl Andersen wrote:
Hey,
Anyone know if possible for a source lookup participant to somehow
get access to the Classloader used to load class source is needed for
when debugging ?
i.e. would like so somehow get to `getProtectionDomain().getCodeSource().getLocation()`
to find location of dynamically loaded classes so users do not need
to manually add the source.
With the code source info I can introspect the jar to locate the source for it.
Any suggestions on how/if that is possible ?
/max
http://about.me/maxandersen
_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-ui-dev