[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

Cant debug code on run time

I am trying to debug the code on the runtime but my code is not stopping on any breakpoint I set in my code

Thanks
0
shieldguy
Asked:
shieldguy
  • 7
  • 4
1 Solution
 
DhaestCommented:
Do you have your configuration on debug and not on release ?

Right click on your project-file: properties
On the tab "configuration properties", the combobox above should have debug
0
 
shieldguyAuthor Commented:
Actually I am using the website not the project is this the reason?
0
 
DhaestCommented:
Yes, you'll have to start from your project, otherwise you can't debug it !
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
DhaestCommented:
Design-Time Debugging ASP.NET 2.0 in Visual Studio 2005
http://brennan.offwhite.net/blog/2006/08/30/design-time-debugging-aspnet-20-in-visual-studio-2005/

Lesson 5: Debugging and Tracing Your Website
http://www.asp.net/learn/videos/video-10.aspx
0
 
shieldguyAuthor Commented:
can I change my web site to project or is their anyway to do debug in the website?
0
 
DhaestCommented:
If you open your project, then you can run the website locally and debug it.

Or do you mean: I deployed the website and there is an error on the live-environment (and not locally), and I want to debug that ... (probably not possible to do that)
0
 
shieldguyAuthor Commented:
yes i have error and i want to put the breakpoints and then debug it on run time is it possible in website?
0
 
DhaestCommented:
Can't you debug your website (project) locally to track the bug ?
0
 
DhaestCommented:
How to implement remote debugging in Visual Studio 2005
http://support.microsoft.com/kb/910448

How to: Set Up Remote Debugging
http://msdn2.microsoft.com/en-us/library/bt727f1t(VS.80).aspx
0
 
shieldguyAuthor Commented:
Actually what happen is that I have created a new web site in my visual studio 2005 by going in to the File menu and clicking on the new website option after I have created some pages I am getting errors in on of the page and I like to debug it locally, like i like to put the break point in one place and then press f5 and then debug the code line by line

I hope its helps

Thanks
0
 
DhaestCommented:
Do you have your configuration on debug and not on release ?

Right click on your project-file: properties
On the tab "configuration properties", the combobox above should have debug
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now