0

This is similar to this question, but there is a twist.

I need to debug a process that is within a DLL, not an executable. The caller is a java application which I have no control over, so I cannot start my debug session from there.

Can it be done?

Paulo Santos
  • 11,285
  • 4
  • 39
  • 65
  • The process can't be inside the DLL. The functions provided by the DLL will become a part of your java application process, which is your debug target. If you have control over the DLL, then you can place some hooks, infinite loops and such in the points of interest and have the process to hang there till you attach the debugger and release it. – Eugene Sh. May 17 '23 at 17:48
  • We'll see what I can do. – Paulo Santos May 17 '23 at 18:10

1 Answers1

0

As I have no control over the Java portion of the code, I created a debug attach point by displaying a MessageBox at the point I needed the debug to start.

This gives me time to attach the debug.

Paulo Santos
  • 11,285
  • 4
  • 39
  • 65