There’s an ancient fable that tells of a frog that falls into a pail of milk. Unable to scramble out, the creature trashes around, seemingly drowning. Eventually however, his frantic struggles turn the milk into butter – and he hops away.
I’m not saying this is news, I’m just saying it’s news to me (and probably to a couple of others as well – those weird looking geeks in the corner, there. See them?). And, yes, I am aware of Venkman.
If you’re not a .net developer, it isn’t in-your-face obvious how you do this, so often you rely on someone just showing it to you. I’ve done some screenshots for you guys and gals.
How to do it!
Just visit the webpage you want to debug with IE. Then fire up Visual Studio, and select Tools -> Attach to Process…
Then you find the iexplore.exe instance you want. Click “Attach”.
And voilá! You’re in a full-featured debugger; a script explorer, code-view where you can set breakpoints etc. and a panel where you can add watches and view values of locals.
Comment by Omar on 2006-02-13 23:00:46 +0000
Comment by Andrew on 2006-09-26 09:34:13 +0000
I’ve started using IE7 and don’t see my favorite “break at next statement” option? Where did it go?
Comment by Mohan on 2007-02-02 08:17:15 +0000