Has anyone gotten a debugger attached to mshta.exe after installing IE9? (64bit or WOW64)
相关问题
- Pass custom debug information to Microsoft bot fra
- How do I identify what code is generating “ '&
- Monodevelop: `Waiting for debugger`
- Adjust tokens on non-privileged accounts (C, Windo
- Pausing VBA and re-running it causes faster execut
相关文章
- How do I get to see DbgPrint output from my kernel
- Advanced profiling is unavailable for the selected
- Can't Inspect Variables When Debugging .NET As
- What is the difference between glibc's MALLOC_
- Embedding a program's source code into its bin
- How to execute another python script from your scr
- How do I debug errors that have no error message?
- Any way in Visual Studio to not break on throwing
I'm on a Vista x64, so I have to contend with the 32bit/64bit barrier.
HTA
Launching
Debugger
Normally I would use the
debugger
keyword to initiate the launching of the debugger, however with IE9, it doesn't seem to do that anymore. I must launch the debugger first, attach to the mshta.exe process manually (only supports 32bit). Then everything appears to work fine!EDIT:
With coworkers, different machine have exhibited different behaviors:
debugger
keyword works fineMSHTA.EXE
from the debugger doesn't workI haven't yet found a silver bullet.
Try using 'Stop' statement. This should raise the debugger dialog
I had the same problem. Finally pieced together how to debug using Visual Studio from two sources
If you have Visual Studio, go to
Tools -> Attach to Process
and attach to theMSHTA.EXE
process. Then pickScript
as the target to debug.