title: How to debug Java applets running in Internet Explorer
body: <p>I need to debug a Java applet. For now, just getting a heap dump would be a big help, although running something like JavaSnoop would be even better.</p>
  
  <p>The complication is that the applet is part of a complex website that only works in Internet Explorer. While it's theoretically possible to isolate the applet and run it independently, initial attempts to do this have failed.</p>
  
  <p>I have attempted <a href="https://stackoverflow.com/a/2557889/2508995">these instructions</a>. However, the debug settings are not taking effect for the Java VM that is running the applet. Port 2502 is not listening. I have tried basic tweaks such as rebooting and running IE as administrator, which have not helped. I've also confirmed that the same command line allows me to debug a standalone Java application.</p>
  
  <p>I'm running JDK 8 and IE 11 on Windows 7.</p>
  
  <p>I'm wondering if IE interfaces with Java slightly differently, so it doesn't obey the Runtime Parameters I have specified in the Java Control Panel.</p>