473,387 Members | 3,820 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.

No Debugging of C# Server-Side Script, but Code-Behind Debugging Works

My ASP.NET application is written using C# script as well as C#
code-behind.

After setting a breakpoint in the script and running the application,
I click from one page to the next but when I get to the page where the
breakpoint is, the code doesn't break in the IDE at the breakpoint.

The breakpoint is in a Page_Load section. All pages in my app are in
the same directory and use relative linking to move from one page to
the next. No cookies are allowed, that is, it's a cookieless
application.

On my startup page, I can place a breakpoint in the code-behind of the
button that you press to send your logon credentials. The IDE does
break at the breakpoint.

So it seems that the problem has to do with debugging script rather
than a problem with debugging in general. I included a Debug="True" at
the top of the page:

<%@ Page language="c#" Codebehind="Orders.aspx.cs" Debug="True"%>

Didn't help.

Debugging for ASP.NET is enabled in the properties.

When the app is running, the breakpoints that are not getting caught
are your typical white question marks. Obviously no symbols are
probably loaded.

Anyone have any ideas?

Best Regards,
Johann Blake
Mobile Solutions
www.closerworlds.com

Check out Polaris: GPS Vehicle tracking over GSM, GPRS, VHF, UHF,
etc.. Uses an XML web service, supports various mapping software
including MapPoint and OziExplorer, is hardware neutral, supports data
in multiple languages and can be adapted by programmers.
Nov 18 '05 #1
1 2121
check Build >> Configuration Manager

Make sure its on Debug build.

HTH

HD
"Johann Blake" <jo*********@yahoo.com> wrote in message
news:d8*************************@posting.google.co m...
My ASP.NET application is written using C# script as well as C#
code-behind.

After setting a breakpoint in the script and running the application,
I click from one page to the next but when I get to the page where the
breakpoint is, the code doesn't break in the IDE at the breakpoint.

The breakpoint is in a Page_Load section. All pages in my app are in
the same directory and use relative linking to move from one page to
the next. No cookies are allowed, that is, it's a cookieless
application.

On my startup page, I can place a breakpoint in the code-behind of the
button that you press to send your logon credentials. The IDE does
break at the breakpoint.

So it seems that the problem has to do with debugging script rather
than a problem with debugging in general. I included a Debug="True" at
the top of the page:

<%@ Page language="c#" Codebehind="Orders.aspx.cs" Debug="True"%>

Didn't help.

Debugging for ASP.NET is enabled in the properties.

When the app is running, the breakpoints that are not getting caught
are your typical white question marks. Obviously no symbols are
probably loaded.

Anyone have any ideas?

Best Regards,
Johann Blake
Mobile Solutions
www.closerworlds.com

Check out Polaris: GPS Vehicle tracking over GSM, GPRS, VHF, UHF,
etc.. Uses an XML web service, supports various mapping software
including MapPoint and OziExplorer, is hardware neutral, supports data
in multiple languages and can be adapted by programmers.

Nov 18 '05 #2

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

Similar topics

2
by: Phil | last post by:
I am using a Pascal like language (Wealth-Lab) on W2K and call this server: class HelloWorld: _reg_clsid_ = "{4E797C6A-5969-402F-8101-9C95453CF8F6}" _reg_desc_ = "Python Test COM Server"...
0
by: Philip Trim | last post by:
General Brief: 3 SQL Servers as MS SQL Server 2000 Standard Edition with Service Pack 3 All using FTP for snapshots All Servers are both Publishers and Distributors. Server A has the correct...
5
by: Grim Reaper | last post by:
My work let me put SQL Server 7.0 Enterprise Edition on my laptop. I have never setup a server from the beginning, so I am a little new at creating server groups. Alright, I am trying to create...
2
by: Jay Chan | last post by:
We have just installed a SQL Server 2000 (SP 3A) onto a computer that has Windows-2003 Server on it. Now, we cannot get access to that database server from other computers. Seem like this may be an...
3
by: Vincento Harris | last post by:
Sql Server 7 Standard Edition My Server was renamed and the normal steps of reinstalling and running sp_dropserver and sp_addserver were followed. Everything seems to work fine but jobs from the...
2
by: Robert M. | last post by:
Information: Server A: SQL Server 2000 Enterprise Edition. OS is Windows 2003 Server Enterprise Edition. SQL Service pack is 3a. Member of domain ABCDomain. Server A is going to function as a...
2
by: J.Beaulieu | last post by:
Hi I'll have probably to use sql server soon but prior to that I have a question concerning priviledges and security. Is it possible for someone to do like in access, ie creating a db/table...
2
by: Schrodiodo | last post by:
I need some help, please. Alphabetically: BizTalk Server
2
by: heyitsme_ryan | last post by:
Ei guys I’m Ryan from Philippines, I need your advice and recommendations about Windows 2003 Server and SQL Server 2000 installation. Well, here’s the scenario. First is for windows 2003 server:...
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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:
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
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.