473,769 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="Ord ers.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 2147
check Build >> Configuration Manager

Make sure its on Debug build.

HTH

HD
"Johann Blake" <jo*********@ya hoo.com> wrote in message
news:d8******** *************** **@posting.goog le.com...
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="Ord ers.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
4594
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" _reg_progid_ = "Python.TestServer" _public_methods_ = _public_attrs_ = _readonly_attrs_ =
0
2044
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 data needed to be replicated to Server B and C. Server B and C and have blank data. Server B and C are blank databases ready for replication. Server A publishers to Server B and Server C
5
2742
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 a server group. I right click on the "SQL Server Group" and make a name of "TEST" and put in the subgroup of "SQL Server Group". Next, I try to register the "TEST" server group. I right click on the "TEST" server group and New Server Group...
2
2133
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 issue with Active Directory. Our network consists of Windows-2000 Servers (SP 4) and Windows-2000 workstations and Windows-XP workstations. We also have SQL Server 2000 (SP2) in three Windows-2000 servers. All work fine. Recently, we get a...
3
3281
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 master server. I did defect the server as a target server since it appeared as offline anyway. On trying to re establish the status of the server as a target server
2
4283
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 Distributor. Location: New York. Server B: SQL Server 2000 Enterprise Edition. OS is Windows 2003 Server Standard Edition. SQL Service pack is 3a. Member of domain ABCDomain. Server B is going to function as a Subscriber.
2
4304
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 that is locked with a password? My guess is that it will be yes but in cas of... Now is it possible for someone to make a db/table read only rather than to lock it totally? Also can the guy who has an administrator priviledge on the server determine...
2
1645
by: Schrodiodo | last post by:
I need some help, please. Alphabetically: BizTalk Server
2
2086
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: We have a windows 2003 server that is a Logon Server and we have at least 90 workstation here in our office to manage. The problem is when we connect to this logon server. It takes 15 to 20 minutes to connect the workstation to the server. My...
2
4924
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 being updated by some other process through remoting. When the page loads, I init the tree, and in my browser I can see the initialized tree. The problem is that every time that I receive update to tree from the remote process,
0
9589
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
9423
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
10211
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...
1
9994
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5298
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...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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.