473,804 Members | 3,739 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't debug server side ASP.NET code in one module (aspx.cs)

I have a web page (aspx and aspx.cs) that I cannot debug
for some reason. The breakpoint will have the little red
dot with the question mark and the tooltip says "The
breakpoint will not currently be hit. No executable code
is associated with this line." I can debug another page
that is almost identical. It seems as though something is
causing this one page to be un-debuggable.

Does anyone know what would cause this?

Thanks.

Nov 17 '05 #1
6 1631
Check out this faq, this might help you.
http://www.extremeexperts.com/Net/FA...minASPNET.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Joe Rattz" <jo*******@genp t.com> wrote in message
news:00******** *************** *****@phx.gbl.. .
I have a web page (aspx and aspx.cs) that I cannot debug
for some reason. The breakpoint will have the little red
dot with the question mark and the tooltip says "The
breakpoint will not currently be hit. No executable code
is associated with this line." I can debug another page
that is almost identical. It seems as though something is
causing this one page to be un-debuggable.

Does anyone know what would cause this?

Thanks.

Nov 17 '05 #2
Check out this faq, this might help you.
http://www.extremeexperts.com/Net/FA...minASPNET.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Joe Rattz" <jo*******@genp t.com> wrote in message
news:00******** *************** *****@phx.gbl.. .
I have a web page (aspx and aspx.cs) that I cannot debug
for some reason. The breakpoint will have the little red
dot with the question mark and the tooltip says "The
breakpoint will not currently be hit. No executable code
is associated with this line." I can debug another page
that is almost identical. It seems as though something is
causing this one page to be un-debuggable.

Does anyone know what would cause this?

Thanks.

Nov 17 '05 #3
That's not it. I can debug a web page vitrually identical
to the one I cannot debug and they are sitting in the same
directory.
-----Original Message-----
Check out this faq, this might help you.
http://www.extremeexperts.com/Net/FA...ingProbleminAS PNET.aspx
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Joe Rattz" <jo*******@genp t.com> wrote in message
news:00******* *************** ******@phx.gbl. ..
I have a web page (aspx and aspx.cs) that I cannot debug
for some reason. The breakpoint will have the little red dot with the question mark and the tooltip says "The
breakpoint will not currently be hit. No executable code is associated with this line." I can debug another page
that is almost identical. It seems as though something is causing this one page to be un-debuggable.

Does anyone know what would cause this?

Thanks.

.

Nov 17 '05 #4
That's not it. I can debug a web page vitrually identical
to the one I cannot debug and they are sitting in the same
directory.
-----Original Message-----
Check out this faq, this might help you.
http://www.extremeexperts.com/Net/FA...ingProbleminAS PNET.aspx
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Joe Rattz" <jo*******@genp t.com> wrote in message
news:00******* *************** ******@phx.gbl. ..
I have a web page (aspx and aspx.cs) that I cannot debug
for some reason. The breakpoint will have the little red dot with the question mark and the tooltip says "The
breakpoint will not currently be hit. No executable code is associated with this line." I can debug another page
that is almost identical. It seems as though something is causing this one page to be un-debuggable.

Does anyone know what would cause this?

Thanks.

.

Nov 17 '05 #5
How about this:
From debug tab, what does your process option show? Are symbols loaded for
your executable? Is the pdb files in the bin directory? If they are there,
delete them and rebuild, it may be corrupted.

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits/default.htm

"Joe Rattz" <jo*******@genp t.com> wrote in message
news:08******** *************** *****@phx.gbl.. .
That's not it. I can debug a web page vitrually identical
to the one I cannot debug and they are sitting in the same
directory.
-----Original Message-----
Check out this faq, this might help you.
http://www.extremeexperts.com/Net/FA...ingProbleminAS

PNET.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Joe Rattz" <jo*******@genp t.com> wrote in message
news:00******* *************** ******@phx.gbl. ..
I have a web page (aspx and aspx.cs) that I cannot debug
for some reason. The breakpoint will have the little red dot with the question mark and the tooltip says "The
breakpoint will not currently be hit. No executable code is associated with this line." I can debug another page
that is almost identical. It seems as though something is causing this one page to be un-debuggable.

Does anyone know what would cause this?

Thanks.

.

Nov 17 '05 #6
How about this:
From debug tab, what does your process option show? Are symbols loaded for
your executable? Is the pdb files in the bin directory? If they are there,
delete them and rebuild, it may be corrupted.

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits/default.htm

"Joe Rattz" <jo*******@genp t.com> wrote in message
news:08******** *************** *****@phx.gbl.. .
That's not it. I can debug a web page vitrually identical
to the one I cannot debug and they are sitting in the same
directory.
-----Original Message-----
Check out this faq, this might help you.
http://www.extremeexperts.com/Net/FA...ingProbleminAS

PNET.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Joe Rattz" <jo*******@genp t.com> wrote in message
news:00******* *************** ******@phx.gbl. ..
I have a web page (aspx and aspx.cs) that I cannot debug
for some reason. The breakpoint will have the little red dot with the question mark and the tooltip says "The
breakpoint will not currently be hit. No executable code is associated with this line." I can debug another page
that is almost identical. It seems as though something is causing this one page to be un-debuggable.

Does anyone know what would cause this?

Thanks.

.

Nov 17 '05 #7

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

Similar topics

9
2029
by: Dan Perl | last post by:
Is there a mechanism or an idiom for adding code for debugging so that it can easily be removed in the production code? I am thinking of something similar to the C/C++ preprocessor statements with which you can compile an application with the debug code or without it (the default). Dan
3
1596
by: Reetu | last post by:
Hi All, I have an html button on .aspx page. <INPUT class="sbttn" id="btnComplete0" onclick="onComplete ()" type="button" value="Mark Completed" name="btnComplete0"> When the user clicks on the html button the OnComplete function is called.
16
1754
by: Dean R. Henderson | last post by:
I have a project built for ASP.NET that recently started running really slow in debug mode (it takes about 10 seconds or more to step from one line of code to the next). This just started recently and only impacts one ASP.NET project. I have some other ASP.NET projects that I can step thru with the debugger with almost instant response. I also have some Windows Forms projects that work normally. I am running Visual Studio 2003 and...
2
1050
by: Ioncycle | last post by:
I am using Visual Studio C# standard and am working with XP Pro offline I am using ASP.NET and am opening the project fine but when I go to debug it it gives this error message. UNABLE TO START DEBUGGING ON THE WEB SERVER. SERVER SIDE ERROR OCCURED ON SENDING HTTP DEBUG REQUEST.
4
3493
by: Serg | last post by:
I have created simplest asp.net application. And it starts normally. But i can`t debug it. I am always getting an error: "You do not have permisssion to debug the server. Verify that you are member of the DebuggerUsers " But I am a member of Debugger Users group and I am a local admin. I have checked *.aspx it is settled to ....Framework\v2.0.40607\aspnet_isapi.dll I have enabled anonymous access and enabled integrated wind auth. I have...
46
24282
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
0
1769
by: Chris Davoli | last post by:
Desktop Environment - Win XP Pro 2002 SP2, Visual Studio 2005 Professional Server Enviroment - Windows Server 2003 My debugging is working just fine on my local machine (gives me line number and module of error), but when I publish to the server, if wil give me the hexidecimal error without the line number or module it happened in. Here is how I publish. I do a build, Publish Web site. the only option is checkbox is "Allow this...
13
3279
by: Rick | last post by:
The following code will enter an infinate loop when in ReadChars. I can only make it happen when reading a Stream and with this particular XML. If I use the ReadInnerXml call rather than my own ReadElementBodyAsXml the code works, but is less efficent. ReadElementBodyAsXml is required by my application with .Net Framework 1.1. The code breaks on the second call to ReadElementBodyAsXml with the inner xml: </EGDConfigExtension>...
1
3500
by: mazdotnet | last post by:
Hi all, I've installed the new Microsoft URL Rewrite Module for IIS 7.0 http://www.iis.net/downloads/default.aspx?tabid=34&i=1691&g=6 on both my laptop (Vista Home Premium) and my desktop (Vista Ultimate). I'm running my sites on IIS instead of the ASP.NET server. If I call my site using http://localhost in the browser, it works fine. However, as soon as I run it from within Visual Studio 2008 in
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9582
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10580
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9157
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6854
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3821
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2993
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.