Skip to content

Adding a breakpoint on a class that is not on the JDK seems impossible #7

@LeoDefossez

Description

@LeoDefossez

In the BreakPointInstaller class, the findMethod method doesn’t seem to work for classes outside the JDK.

This might be because non JDK classes aren’t loaded when the JVM starts.
A possible fix would be to:

  • Attempt to load the class before searching for the method, and if impossible
  • Wait for the ClassLoading event corresponding to the needed class and set the breakpoint when the target class is loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions