473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IE8 .NET and Debugging breakpoints

Paxxer
22
I've noticed that my breakpoints don't work all of the time in Internet Explorer 8.

If I have an IE8 window open when I start the website in debug mode, the break points won't be hit.

If there are no IE8 windows open when I start the application, I can debug as normal.

Anyone else, able to reproduce this, or know of a way to have more IE8 Windows open during debugging? (I gotta have my BYTES you know!)

Thanks
Feb 1 '09 #1
12 11922
Paxxer
22
Update: This seems to happen if I launch a new window, from a previous debug session. And keep it open. Even after I stop debugging. The next debug sessions, will not hit the break points.

But: If I am not debugging, with no IE8 windows open, open an IE 8 Window. Then start debugging, I can hit the break points.

WorkAround: Do not spawn any windows from an instance of IE8 that is being used by VS for a debug session!
Feb 2 '09 #2
Frinavale
9,735 Expert Mod 8TB
Hmm, I run into the same problem sometimes except that I'm not spawning windows.

I have found that if I pause and then restart debugging my break points will work again.
Feb 2 '09 #3
Paxxer
22
Thanks for the reply.

So I tried to reproduce, what I had listed, the spawned window. Yet NOW when I click in VS to stop debugging, all of my Spawned windows close down.

If I have the issue, I will try the Pause and then continue on Debugging, and see if that works for me.

Mainly I wanted to get a post up here, so some guidance would show up when other people did a search. Because, all i found was the normal, Make sure you asp.net is checked in the properties page, and Web.config stuff. But this is particular to IE8.
Feb 2 '09 #4
Frinavale
9,735 Expert Mod 8TB
Wait a second, is your problem in Visual Studio or when with IE8 debugger?

The "pause & restart the debugger" solution I suggested only works with the IE8 debugger. Pausing and restarting the Visual Studio debugger will not fix the IE8 debugger.

It is normal behaviour for Visual Studio to close any IE browsers opened during debugging.

If you are developing with JavaScript in your ASP.NET application and you are using IE8 I would recommend sticking with the IE8 debugger (despite the fact that it is buggy itself). The reason I suggest this is because worse problems happen when you use IE8 and attempt to debug scripts using Visual Studio.
Feb 2 '09 #5
Paxxer
22
Thank you for the replay, Frinavale.

Like many "nebulous" bugs, this one isn't easy to reproduce as consistant as I would like.

1. I am talking about debugging c# code. So I am referring to the Visual Studio Debugger
2. If All of my IE8 windows are closed, when I compile and execute my website from VS 2005 sp .050727-7600, it will hit the break point, and pause, or print out as would be expected.
3. If I have IE8 windows open when I compile and execute, it is hit or miss wether it will pause at a break point.

I thought I had a "reproduceable" situation, with the spawned pages, but that doesn't seem to be "it".

Basically, if I want to have Internet information available to me while I am coding/testing I have to view it in Firefox or Mozilla. And use IE8 for my debugging.

Very disappointing.
Feb 2 '09 #6
Frinavale
9,735 Expert Mod 8TB
@Paxxer
Yup, that's how I do it too.
Feb 3 '09 #7
drhowarddrfine
7,435 Expert 4TB
No comment. ,
Feb 3 '09 #8
Dear Paxxer

THANK YOU !!!!!!!
I had just had the need to open an old project in vs2003. I experienced the same issue with breakpoints not working, I tried a bunch of stuff to no avail. Spent most of the day poking around the net. Then I happened upon your stroke of genius ... I recently installed IE8 and thought.. NO F'n way....

Sure enough, if I start my web app with no previous IE 8 windows open, then debugging is a happy experience (so long as I see what I expect in there).

THANK YOU so much for posting this, indeed sometimes the simplest answer is the best and most correct.
Jul 22 '09 #9
Simply follow below given steps and your debugging problem will solve for IE8

1) Open RegEdit
2) Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3) Add a new entry "DWord" under this key named called "TabProcGrowth"
4) Set TabProcGrowth to 0

and try now.

For more solutions check <link removed>

Cherrs!!
Apr 3 '10 #10
@mathew7535
Thanks Mathew,

After making the changes in the regedit,In IE8 now i can able to hit the breakpoint in debug mode.
May 4 '10 #11
thanks for reply mahadevi

<promotional link removed>
May 4 '10 #12
thanks it worked that solution
May 10 '10 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: joe | last post by:
Since last friday I cannot get any of my breakpoints in any of my C# code to be hit. I was using the attatch to process with Script and CLR checked and attatching to the asp process. This worked...
5
by: Doug Swanson | last post by:
I have my project(s) set to Debug mode...asp.net debugging is enabled, I've re-registered asp_net. This particular solution has an asp.net and an ASP application in it...I can set breakpoints in...
0
by: John Socha-Leialoha | last post by:
I've been working on an ASP.NET application for a while. Debugging was really fast. But then the debugging started to slow down. When it got to the point where it took 5 seconds to step from line...
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
6
by: Rob R. Ainscough | last post by:
I can't seem to locate the appropriate area in VS 2005 where I can accomplish this -- is this a C# only option? Thanks, Rob.
5
by: rn5a | last post by:
Can someone please suggest me a text editor especially for DEBUGGING ASP scripts apart from Microsoft Visual Interdev? I tried using Visual Interdev & created a project but Interdev generates...
5
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
vs2008 c# add-in TestMatrix 2.0 nUnit 2.4.7 apologize for trying here to get answers to my problem but i might be lucky if some one can give me a hint or tip. I trying to start debugging my...
3
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
Vista sp1 C# Hi: after I opened a vs2005 IDE... my breakpoints when debugging in vs2008 dont work any more, any ideas? the test finished but It does not stop. Thanks
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
6
by: Morgan Packard | last post by:
Hello, Wondering what everyone's experience with breakpoint debugging is here. I've been using firebug for a few years and, while I'm delighted to have _some_ debugging ability, I've found it to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.