//System.out.println( entryEvent + ":" + entryEvent.location() );
try {
IThread[] tharr = getThreads();
ThreadReference t = null;
DroolsThread t2 = null;
for (int i = 0; i < tharr.length; i++) {
DroolsThread th2 = (DroolsThread) tharr[i];
ThreadReference th2real = ((DroolsThread) tharr[i]).getUnderlyingThread();
if (th2real.suspendCount() == 1 && th2.getName().equals("main")) {
t = th2real;
t2 = (DroolsThread) th2;
th2real.suspend();
th2.setRunning(false);
th2.fireSuspendEvent(DebugEvent.CLIENT_REQUEST);
return true;
}
}