Geeks With Blogs
Andrew Siemer's Blog Enterprise Web Applications, ASP.NET MVC, C#, SQL Server, Architecture, & Writing
WOW!  I can't believe how much time I just spent trying to change the browser I use to debug with in Visual Studio.  In visual studio 2003 I could have simply gone to File>Browse With.  This (at first glance) no longer appeared to me.  After some research I realized that I was in a "Web Application" project rather than a "Web Site" project.  This appears to mean something very different to Visual Studio.  So I created a quick "Web Site" project (something I never use any more for testability reasons) but still didn't find the "browse with" option.  After some poking around I found that this option was moved to the project context menu - but still only in the "web site" project.  So...in a "web site" project, right click on the project, "browse with".  In the window that pops up, choose add, and then browse to the firefox.exe file (mine was in in program files>mozilla firefox>firefox.exe).  Then hit ok.  And click the "Set as Default" button.  Now you can go back to using your "web application" project! Posted on Wednesday, October 17, 2007 11:12 AM | Back to top


Comments on this post: Changing your debug browser to Fire Fox in Visual Studio 2005

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
Thanks for this... It worked a treat :)
Left by Danny Lister on Dec 22, 2007 4:12 PM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
And then if you change your debug browser to firefox, is there any way to debug Javascript code in visual studio? It doesn't appear there is. I guess you have to use some type of add on tool like firebug?
Left by control13 on Jan 29, 2008 12:05 PM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
If you right click on a web page (.aspx) and then select browse with you will get a list of browsers. You can choose one to browse with for that instance...and you can set your selection to default.
Left by Andrew Siemer on Jun 21, 2008 8:01 PM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
Thanks! Been bugging me for a while.

BTW, same process in VS2008.
Left by Nate on Sep 25, 2008 6:12 AM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
Thnx a Lot Buddy...

Because of your blog, I had to spend only 10 min to find a solution for this problem :-) keep it up!!!
Left by Hari on Nov 10, 2008 11:31 PM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
An Accident - Debug ASP.NET page in FIREFOX
1. Open solution in VS 2008,
2. Mark Debug Point in code
3. Run page -by default run in IE
4. Open FireFoX copy the page URL and run
5. you are debuging code in firefox.

Left by Zan on Dec 03, 2008 11:31 AM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
Cool, thanks ^___^
Left by GreenblitZ on Jan 13, 2009 2:59 AM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
For quick debugging try this..

Add Debugger.Break() into your code at an appropriate place.

Browse to the page in firefox (via localhost) if on local dev machine? and the Visual Studio Just in Time debugger should pop up.. select the currently open instance of Visual Studio and you can step into the code where every you want without having to start from the beginning or jumping to cursor.

-- Lee
Left by Englestoe on Jan 22, 2009 3:12 AM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
That was simple! Shoulda seen that.

Thank you very much.

Left by Roger Willis on Jan 23, 2009 1:40 PM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
Visual Studio .Net 2005 Open using mozilla Firefox

This is how you could Using Firefox (and IE) to debug your apps in Visual Studio .Net 2005.

1. Open Visual Studio .Net 2005
2. Click On File -> Browser With
3. If Firefox is not there then
Click on Add
Browser to firefox D:\Program Files\Mozilla Firefox or C:\ What ever
select firefox.exe
4. click on firefox.exe and click on "set as default"

You are good to go


http://muruganad.com/ASP.NET/Visual_Studio_Net_2005_Open_in_Firefox.html
Left by Murugan Andezuthu Dharmaratnam on Aug 28, 2009 3:07 PM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
How can one set VisualStudio 2008 to end debugging when the FireFox window closes? This works for IE8 but not for FF3.6 now. In IE, if I am running in debug mode, and I have a browser open with my web page in it, all is well, and if I close that IE window being debugged then the VisualStudio debugging also stops. However, in FireFox, if I close the FireFox window being debugged, then the debugging in VisualStudio does not close. Any ideas? Please advise. Thank you. -- Mark Kamoski
Left by Mark Kamoski on Mar 30, 2010 7:50 AM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
FileUltimate is an ASP.NET file manager control which you can add directly to your existing ASP.NET (.aspx) pages. The control renders a user interface similar to "Windows Explorer" within the page and this user interface allows you to view the contents of the predefined root folders and allow complete file management actions within those folders. File management actions can be limited by predefined permissions and quota limits on each folder separately.
Left by asp net file browser on Nov 25, 2010 4:08 PM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
it helped me
Left by Zakee on Oct 13, 2011 5:08 AM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
This totally works thanks.
Left by birdie on Nov 05, 2011 9:21 PM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
Thanks for that. I have been struggling to test jQuery Mobile 1.0 with IE. Works on FireFox.
Left by David Rocke on Dec 21, 2011 5:53 AM

# re: Changing your debug browser to Fire Fox in Visual Studio 2005
Requesting Gravatar...
Hello guys!
My problem was with php enviroment.

My solution:

Project / project properties / Configuration Properties / Debug / General / Browser Type

Set Default Browser value, then VS will use the system default browser when starts debug.
Left by Jordan on Jan 03, 2012 6:22 AM

# #re:TWO WINDOWS ARE OPEN IN VS 2008 WHEN I DEBUG
Requesting Gravatar...
when i debug in vs 2008 two windows of IE are open.In which one window is blank and other window will open website.
Left by deepak on Jan 16, 2012 7:59 AM

Your comment:
 (will show your gravatar)


Copyright © Andrew Siemer - www.andrewsiemer.com | Powered by: GeeksWithBlogs.net | Join free