Skip to content

Commit

Permalink
jdi tests: log ClassPrepareEvent referenceType
Browse files Browse the repository at this point in the history
ClassPrepareEvent for org.eclipse.debug.jdi.tests.program.MainClass
missing after 10000ms
  • Loading branch information
EcljpseB0T committed Sep 12, 2024
1 parent a509602 commit fd9cbc1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public ClassPrepareEventWaiter(EventRequest request, boolean shouldGo, String cl
*/
@Override
public boolean classPrepare(ClassPrepareEvent event) {
System.out.println("classPrepare:" + event + " " + event.referenceType().name());
if (event.referenceType().name().equals(fClassName)) {
notifyEvent(event);
return fShouldGo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public synchronized void addEventListener(EventListener listener) {
* Returns whether the VM should be resumed.
*/
private boolean dispath(Event event, EventListener listener) {
System.out.println(event);
if (event instanceof AccessWatchpointEvent) {
return listener.accessWatchpoint((AccessWatchpointEvent) event);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,10 @@ public ReferenceType referenceType() {
public String classSignature() {
return referenceType().signature();
}

@Override
public String toString() {
return super.toString() + " referenceType=" + referenceType().name(); //$NON-NLS-1$
}

}

0 comments on commit fd9cbc1

Please sign in to comment.