Wrox Programmer Forums
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 30th, 2010, 01:17 PM
Authorized User
Join Date: Sep 2010
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Default question on debugging

hello all.

i have a problem with debugging (ch 18). i set all breakpoints etc. but when i press f5 or start debugging, vwd opens my web site's first page(Default.aspx) on the browser, not the page that i have set the breakpoint. i'm sure that its a setting of vwd but i can't find it.... i'm using firefox but i tried it also in IE, and vwd 2010 Professional.


Last edited by stram; December 30th, 2010 at 01:19 PM..
Old December 31st, 2010, 06:03 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

Depending on how you set things up and where you set the breakpoints, this may function exactly as it should. Breakpoints break when they are hit, not sooner. So, let's say you set a break point in a button's Click handler and then press F5, a page will open in the browser and the breakpoint won't be hit until you cllick the button.If that button is on a different page, you may need to browse to that page first.

If you were expecting a different page to open when you press F5, either right-click that page in the Solution Explorer and choose Set as Start Page, or open the web site's Property Pages and configure the desired start up behavior in the Start Options category. Use Current Page starts debugging with the active page in the editor.

Hope this helps and Happy New Year.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
stram (December 31st, 2010)
Old December 31st, 2010, 08:18 AM
Authorized User
Join Date: Sep 2010
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts

hi Imar and happy new year!
ok I understand it now...

happy new year to all :)

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Add the 'Start Without Debugging' icon next to 'Start With Debugging' icon btcomp BOOK: Beginning ASP.NET 4 : in C# and VB 1 August 1st, 2010 03:41 PM
Debugging BSkelding VB.NET 2002/2003 Basics 1 June 16th, 2004 10:32 PM
Debugging Louisa VB.NET 2002/2003 Basics 1 March 18th, 2004 11:55 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.