Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Debugging ASP.NET without IE

Can it be done?  I don't use IE.

Sassy
Thursday, June 10, 2004

Yes. One way to do it is to attach a running instance of ASPNET_WP (or W3WP, if you're on W2K3). Then you're completely browser independent. When you're done debugging, then detach again.

Brad Wilson (dotnetguy.techieswithcats.com)
Thursday, June 10, 2004

Any browser which doesn't automatically timeout will work just fine.

When I run in Debug mode from VS.NET, it starts up an instance of IE, but I just ignore that and keep using Mozilla.  It works fine.  Stops on breakpoints and everything.

When I want to stop the debugger I close the IE instance and VS.NET realizes I'm done.

Richard P
Friday, June 11, 2004

It's actually much more useful to do what Brad suggests because then you can easily start from wherever you want with whatever querystring you want.

And you can break in and out of "debug" mode without the web browser closing and losing track of where you are in the app.

But if you really want mozilla (or other) to open up when you hit f5, you should be able to do it by setting the debug type (in project properties) to application and specifying something like this:

c:\program files\mozilla\mozilla.exe "http://localhost/default.aspx"

boogs
Thursday, July 22, 2004

*  Recent Topics

*  Fog Creek Home