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

Debugging CodeBehind file

Hey,

How do you debug the codebehind file of a web application?
When I put breakpoints and run in debug mode nothing happens. I can't step
through because it looks like the line where the breakpoint is, does not get
executed or recognized as debug line.

I have debug set to 'true' in web.config.

I'm trying to debug why a HtmlTable object I dynamically create in the
codebehind file, does not display on the web page. The values retrieved from
the database are correct along with the correct rows, but the table just
doesn't display.

Thanks,

--
Al
Nov 19 '05 #1
2 1673

Hmmmm.... Could you post a little piece of code there you are setting
breakpoints?

Gaidar

"Al Wilkerson" <ac***@comcast.net> wrote in message
news:ZK********************@comcast.com...
Hey,

How do you debug the codebehind file of a web application?
When I put breakpoints and run in debug mode nothing happens. I can't step
through because it looks like the line where the breakpoint is, does not
get executed or recognized as debug line.

I have debug set to 'true' in web.config.

I'm trying to debug why a HtmlTable object I dynamically create in the
codebehind file, does not display on the web page. The values retrieved
from the database are correct along with the correct rows, but the table
just doesn't display.

Thanks,

--
Al

Nov 19 '05 #2
I got how to debug it now. The asp.net process needed to be attached along
with the debugger.

Al
"gaidar" <ga****@vbstreets.ru> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...

Hmmmm.... Could you post a little piece of code there you are setting
breakpoints?

Gaidar

"Al Wilkerson" <ac***@comcast.net> wrote in message
news:ZK********************@comcast.com...
Hey,

How do you debug the codebehind file of a web application?
When I put breakpoints and run in debug mode nothing happens. I can't
step through because it looks like the line where the breakpoint is, does
not get executed or recognized as debug line.

I have debug set to 'true' in web.config.

I'm trying to debug why a HtmlTable object I dynamically create in the
codebehind file, does not display on the web page. The values retrieved
from the database are correct along with the correct rows, but the table
just doesn't display.

Thanks,

--
Al


Nov 19 '05 #3

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

Similar topics

1
by: Simon | last post by:
Hi everyone I'm having a very frustrating problem with debugging my code at the moment. The problem concerns breakpoint working in some methods, but not others. In an aspx codebehind I have...
2
by: Graham Allwood | last post by:
I'm reading the Essential ASP.NET book by Fritz onion and he says that when VS.NET creates a new .aspx page for you is uses the codebehind attribute on the Page directive rather than the src...
6
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked...
12
by: A.M | last post by:
Hi, Using VS.NET 2003, If i use SRC page attribute instead of CodeBehind, do i still have intelisence and generally IDE support for that? Thanks, Ali
1
by: Johann Blake | last post by:
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...
3
by: nevets2001uk | last post by:
Hi. I've just started my second ASP.NET (VB) app and I'm using codebehind this time. I'm not using visual studio but am instead coding it all in notepad (HTML, ASP.NET and CSS) I'm trying to...
12
by: Karl Hungus | last post by:
If I use a code behind class for an aspx page, what is the best way to get data from the codebehind class into my aspx page? I know about databinding, but is there a more basic way of just...
1
by: Randall Parker | last post by:
Using VS 2003 and Cassini web server. I'm new to ASP.Net and so this may be a dumb question. I'm getting an error where the type 'FarmLand.WebForm1' is not found. The Codebehind C# source file...
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...
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: 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?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...

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.