Reputation: 183
(My platform is Windows XP SP3. My debugger is windbg, but I've tried Immunity and gdb in cygwin as well. They all seem to be affected in the same way. I do not have the source code to either the java applet or the dll in question, so I cannot place debug hooks into the code.)
As per the question title, I am trying to debug a dll which is loaded through java by way of an applet launched within the browser. I am attaching to the java process directly so that I can gain access to the specific dll being loaded. However, after a few seconds of the java process being suspended, it terminates and my debugging session is useless.
What is the cause of this termination? A watchdog process within java itself or the browser? Can it be turned off or tuned or left running?
Upvotes: 0
Views: 239
Reputation: 3975
Watch this video DerbyCon it explains the java applet and watchdog process and some quick tips on getting around it starting around 15:30.
From what he says. Yes there is a watchdog and no there is no way to turn it off. He got around it by patching the binary, either on disk or in memory.
Upvotes: 1