Debugging CodeBehind file

  • Thread starter Thread starter Al Wilkerson
  • Start date Start date
A

Al Wilkerson

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,
 
Hmmmm.... Could you post a little piece of code there you are setting
breakpoints?

Gaidar
 
I got how to debug it now. The asp.net process needed to be attached along
with the debugger.

Al
gaidar said:
Hmmmm.... Could you post a little piece of code there you are setting
breakpoints?

Gaidar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top