473,387 Members | 1,611 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,387 software developers and data experts.

Debugging Global.asax

Hello,

I have an asp.net (c#) app in VS 2k3 on a WinXP sp2 box. Local IIS web
server. The breakpoints in the Global.asax are not being hit. When I start
the debugger the glyph becomes a question mark and hovering the mouse over
it displays ". no symbols are loaded for this document". The modules window
says the symbols are loaded and the reload symbols option is grayed. Also
breakpoints in other files work. I tried creating a new app and setting
breakpoints in Global.asax they don't hit either. I've deleted the \bin
folder, the cache, the solution file, restarted IIS and rebuilt with no
luck. web.config has debug="true" and the project properties is set to
debug. Any direction on this would be greatly appreciated.

Thank you.
Nov 19 '05 #1
2 2971
On Wed, 29 Jun 2005 16:50:47 -0700, Andrew wrote:
Hello,

I have an asp.net (c#) app in VS 2k3 on a WinXP sp2 box. Local IIS web
server. The breakpoints in the Global.asax are not being hit. When I start
the debugger the glyph becomes a question mark and hovering the mouse over
it displays ". no symbols are loaded for this document". The modules window
says the symbols are loaded and the reload symbols option is grayed. Also
breakpoints in other files work. I tried creating a new app and setting
breakpoints in Global.asax they don't hit either. I've deleted the \bin
folder, the cache, the solution file, restarted IIS and rebuilt with no
luck. web.config has debug="true" and the project properties is set to
debug. Any direction on this would be greatly appreciated.

Thank you.

I suggest that you debug by setting up trace up.

Nov 19 '05 #2
Use the following:

(VB.Net)
System.Diagnostics.Debugger.Break()

Where you would like the debugger to stop.
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: fd123456 | last post by:
Hi Tom ! Sorry about the messy quoting, Google is playing tricks on me at the moment. > Global.asax is where you normally have the Global Application > and Session variables and code to...
12
by: John M | last post by:
Hello, On Microsoft Visual Studio .NET 2003, I want to use some global elements, that can be used in each one of my pages. i.e I put a oleDBConnection on global.asax.vb How can I use it...
8
by: Vishwanathan Raman | last post by:
Hi I have a declared a static DataSet object SOBJ in Global.asax.I also have a localy defined DataSet LSOBJ in Global.asax which I am storing in Application State.Is there any technical...
5
by: ad | last post by:
The Global.asax is code-inside with default. How to change Global.asax to code-behind?
0
by: tg | last post by:
I'm debugging an ex-coder's application. I get the following error message when I start the app. Can someone please point me in the right direction to resolve the error? This is VB.NET 2003...
11
by: Ron | last post by:
I have a web project compiled with the new "Web Deployment Projects" plugin for VS2005. I'm deploying the web project to one assembly and with updateable option set to ON. When I'm running the...
16
by: thefritz_j | last post by:
We just converted our VS2003 1.1 VB web project (which was working fine) to VS2005 2.0 and now I get: Parser Error Message: Could not load type '<Namespace>.'. Source Error: Line 1: <%@...
8
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project...
15
by: =?Utf-8?B?UGF0Qg==?= | last post by:
Just starting to move to ASP.NET 2.0 and having trouble with the Global.asax code file. In 1.1 I could have a code behind file for the global.asax file. This allow for shared variables of the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.