Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : 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 November 5th, 2015, 07:24 PM
Authorized User
 
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
Default Ch 18, p694 - JS Debugging

Hi Imar,

After adding the 3 debugging breakpoints and submit the text, it redirects to the NameService.cs breakpoint. After press F10 a couple of times, it never goes to the JS breakpoints, and exit in the NameService.cs breakpoint.

I added the keyword "debugger" but it didn't work. I also try with your source code, the same behavior.

Thanks.
 
Old November 6th, 2015, 04:49 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Which browser do you use? Did you try this with VS 2013 and Internet Explorer?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
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!
 
Old November 6th, 2015, 06:48 AM
Authorized User
 
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I had to enable JS in IE

I use the instructions from here:
http://activatejavascript.org/en/instructions/ie

For my surprise it also solved the nav layout problem I had. It seems that the layout it's also created by scripts, not only CSS.

Thanks.
 
Old November 6th, 2015, 07:01 AM
Authorized User
 
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
Default

But still in Chrome, has the same behavior as mentioned at first. I checked the JS is enabled and it is.
 
Old November 6th, 2015, 04:53 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You need to use IE to use integrated JavaScript debugging (see page 693). However, you can use Chrome's built-in developer tools to do client side debugging.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 18, p679 - No 404 StvnSpnz BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 8 November 9th, 2015 04:43 PM
Ch 18 Exception Handling AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 2 April 8th, 2014 12:30 PM
Ch 18 in Express Edition??? wwpowell_ga BOOK: Beginning Visual C# 2010 1 June 29th, 2010 09:11 PM
can't get messagebox example in ch 18 to work itlotl VB.NET 2002/2003 Basics 3 January 13th, 2006 04:39 PM
Problems with Ch. 18 example tomephillips BOOK: Beginning ASP 3.0 5 November 6th, 2003 08:25 AM





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