CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 3/4/2008 3:10:41 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
mrrogers
Asp.Net User
Strange debug issues3/4/2008 3:10:41 AM

0/0

I am having numerous problems debugging my web application locally.

1. Originally I was having problems with changes not showing up in debug mode until I clicked refresh on the browser. I'm not sure what the problem was but I switched to Firefox and the problem went away.

2. Next with Firefox, unlike with IE, when I shut down the browser it doesn't stop debug mode and the process is still attached. I need to manually stop debugging.

3. Next when I am debugging Studio is cycling thru the Page_Load event TWICE.

What could possibly be causing these things?

ps2goat
Asp.Net User
Re: Strange debug issues3/4/2008 5:49:23 AM

0/0

1) If you are editing while debugging, you'll need to make sure you save the changes first.  Then you will have to hit refresh to see the changes.  An error will occur if certain things are changed and you try to re-post the old page to the new one that was just saved.

2) I have this problem with IE sometimes as well. Instead of closing the browser, you could just manually stop debugging.  That will close the process (FireFox), as well.  Is FireFox your default browser in Visual Studio?  (You can still debug with it even if IE is your default; simply copy the URL from IE and paste it into the address bar of any browser.  Server-side operation and debugging work the same, except for scripting -- untested).

3) Several things could be causing Page_Load to occur twice.  I know an old-fashioned coder who doesn't like a hierarchy of functions, so he puts everything in an event handler and calls the event handler multiple times throughout his code (definitely a bad idea!).  Another reason it may occur is due to having a Handles clause at the end of the event handler in addition to the Page having the AutoEventWireUp property set to True in the aspx code. 


---------------------------------------
MCP - Web Based Client Development .NET 2.0
mrrogers
Asp.Net User
Re: Strange debug issues3/4/2008 11:53:13 PM

0/0

As far as Issue #3 I couldn't find either one of those conditions going oon and it is still cycling thru twice.

I do have three user controls on the page. A header, footer and business UC and it cycles twice thru all of them.

mrrogers
Asp.Net User
Re: Strange debug issues3/5/2008 12:15:56 PM

0/0

You know what the solution was, I reverted back to IE6 (I was using IE7). IE6 gives me none of these issues. IE7, which had those weird cache issues, and FireFox which has the double load issue were both giving me problems.

ps2goat
Asp.Net User
Re: Strange debug issues3/6/2008 7:59:33 PM

0/0

Are you using IIS or the built in web server (Cassini)?  From what I've heard, the built-in web server adds expiration headers to the pages so that the latest version is always pulled down by the browser.  I haven't had any issues with IE 7, but perhaps you should discover the real cause so that your users with IE7 and FireFox won't stop using your app.


---------------------------------------
MCP - Web Based Client Development .NET 2.0
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
MySQL: Visual QuickStart Guide Authors: Larry Ullman, Pages: 464, Published: 2006
Debugging: The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems Authors: David J. Agans, Pages: 183, Published: 2002
Programming and Customizing PICmicro Microcontrollers Authors: Myke Predko, Michael Predko, Pages: 1190, Published: 2002
Linux Device Drivers Authors: Alessandro Rubini, Jonathan Corbet, Pages: 564, Published: 2001
Debugging Visual FoxPro Applications Authors: Nancy Folsom, Pages: 110, Published: 2002
.NET Enterprise Design with Visual Basic .NET and SQL Server 2000 Authors: Jimmy Nilsson, Pages: 355, Published: 2001
Game Coding Complete Authors: Mike McShaffry, Pages: 580, Published: 2003
Real-time Cinematography for Games Authors: Brian M. Hawkins, Pages: 326, Published: 2005
Exploring Expect: A Tcl-based Toolkit for Automating Interactive Programs Authors: Don Libes, Pages: 566, Published: 1995
Software Engineering--ESEC/FSE '99: 7th European Software Engineering Conference Held Jointly with the 7th ACM SIGSOFT Symposium on the Foundations of Software Engineering, Toulouse, France, September 6-10, 1999 : Proceedings Authors: Oscar Marius Nierstrasz, Michel Lemoine, Pages: 527, Published: 1999

Web:
Strange Debug problems - ASP.NET Forums Strange Debug problems. Last post 09-28-2007 2:16 PM by Mikhail Arkhipov (MSFT). 5 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Re: strange debugging problem: msg#00000 I > don't know how to describe it, it kinda hangs, but it does this in a very > strange way. The VS debugger says it's still running, but when I try to ...
[magick-developers] Strange debugging problem with gdb (convert.c)!! [magick-developers] Strange debugging problem with gdb (convert.c)!! Arvind Jagannath arvind_jagannath at yahoo.com Tue Dec 26 00:56:14 CST 2006 ...
Strange Debug.txt - MP3Car.com Debug.txt is weird. RR crashing. What is the problem with this file? ... This has been known to cause issues with some plugins, scripts and such. ...
iPod detection issue with Helix Banshee: ipod-debug-dump.sh ... iPod detection issue with Helix Banshee: ipod-debug-dump.sh - strange output! ... My iPod has the following values as per ipod-debug-dump.sh ...
Strange Debugging Problem - ASP.NET Forums I've started seeing a strange debugging problem today - I've never seen it before and I've tried restarting the PC to no avail. ...
CSLA .NET - Strange problem when debugging CSLA: "There is no ... Forums for CSLA .NET and the Expert VB 2005 Business Objects and C# 2005 Business Objects books by Rockford Lhotka.
Debugging Tools and Techniques - Strange problem with remote debug ... Strange problem with remote debug in eclipse Oct 4, 2006 7:38 AM. Click to email this message. Hi, I am facing such problem. I have correctly (100% ) set up ...
MSDN Visual Studio Debugger Strange Debugging Behavior - debugger ... Strange Debugging Behavior - debugger seems to quit immediately. ... The issue has been reported to Kensington. We'll update you when they issue a fix. ...
Digital Mars - digitalmars.D.dwt - strange debug menu crash D.dwt - strange debug menu crash. "Simen Haugen" Jun 05 2008. Frank Benoit Jun 05 2008 ...

Videos:
Mother 3 debug room tutorial As promised, this is a tutorial on how to have party members that you aren't supposed to, and how to change their levels. The first thing you'll not...
3 metal marios well, not 3, but many more than that! recently, i was mucking about with codes for my gameshark when i came apon two undiscovered cheats. Weird Debug...
Spin Cycle + debug/error code countdown - Weird washer!! Has anybody seen this debug or error?? It causes the machine to count down, sorta like a time bomb, from 99. First time I've seen it. Maybe it's cau...
OoT / MM Debug Code To get into the Debug code in both Majora's Mask and Ocarina of Time, first freeze the game. Wait for a little while, and then a small red bar should...
Igor Roman - Logging For Fun And Proffit Perl Programming Talks at YAPC::Braga When debugging a problem in an application, people generally resort to scattered print's throughout the code. ...
Sonic 3 & knuckles debug glitch: weird tails tails is acting strangely i wonder what it is?
ocarina of time beta dancing bush strange sound joo 2 beta funde die ich durch die verwendung eines codes in der debug rom gefunden habe. falls sich jemand wegen dem anfang wundert - da ist kein ka...
Sonic 1 weird flower and debug fun at the end sequence Uhhh,Yeah!
Sonic 3 & Knuckles Carnival Night Act 1 Debug Glitch This glitch is caused by going to a wall in the bottom left corner of the level and holding left using debug. This glitch causes the background to di...
Sonic 3 & Knuckles Debug Glitch 21 ZONE 1-1 Now that is a weird debug glitch.




Search This Site:










handling static html page from asp.net

help vwd setup failiure!

windowsprincipal.isinrole() returns a trust relationship error

dnn connection woes

beta2 wizard validator problem

about treeview,how to auto check all child treenodes?

sqlheper

secure cookie

need host with decent bandwidth and quick response time...

support desk 2.5 won't install on dnn 2.1.2

authentication via sessions and multiple pages in asp.net?

how to authenticate an .exe file

css layout and solpart menu problems

stuck without multiple inheritance

how to track whether a page is idle?

problem about website administration tool

custom control array property (is read only!?!)

inactive links in content page when master page has links

discussion module error--page cannot be found

using menu as site navigation

using google maps api with master pages

why aren't usernames unique to portals?

shrink sql server express database

why are there brackets around the attribute variables?

admin of ibuyspy

admin module

cache.count = 0 after adding item

help me critical error, what does this mean?

newbie: easy module navigation question

newbie question - how to create multiple parent portals with multiple domains - dnn3.1

 
All Times Are GMT