473,612 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remote debug does not stop on breakpoint.

Hi,

Seems like a few people are having debug problems, mine seems subtley
different though!

I have a win2003 svr with my c# ASP.NET web site running all ok. I have
setup all the permissions and installed the "full" remote debugger on the
server. I then open the project using "File, Open, Project from web". All
works fine, using "built-in" version control, all my files appear no problem.
I have debug set to true in my web.config and have changed the "Project
Properties" to allow me to debug ASP.NET and have changed "Enable Remote
Debugging" to true. I then do a full build debug and all works with no
errors.

I set my breakpoints and I hit F5 to run the debugger. The debugger starts
and up pops my web browser. I get the following message saying the debugger
attached ok to the process on the remote machine.

Auto-attach to process '[1508] w3wp.exe' on machine 'XYZ' succeeded.

This is where the problems start! When I navigate to a page where the
breakpoints are set, the breakpoints do not stop! The pages are shown fine
in the browser, but no breakpoints are hit.

Any ideas?
Nov 18 '05 #1
1 3319
I'm having the exact same problem. Did you ever find a solution to
this?

Remote debugging of ASPNET application without stopping on breakpoints.
monsteruk wrote:
Hi,

Seems like a few people are having debug problems, mine seems subtley different though!

I have a win2003 svr with my c# ASP.NET web site running all ok. I have setup all the permissions and installed the "full" remote debugger on the server. I then open the project using "File, Open, Project from web". All works fine, using "built-in" version control, all my files appear no problem.

I have debug set to true in my web.config and have changed the "Project Properties" to allow me to debug ASP.NET and have changed "Enable Remote Debugging" to true. I then do a full build debug and all works with no errors.

I set my breakpoints and I hit F5 to run the debugger. The debugger starts and up pops my web browser. I get the following message saying the debugger attached ok to the process on the remote machine.

Auto-attach to process '[1508] w3wp.exe' on machine 'XYZ' succeeded.

This is where the problems start! When I navigate to a page where the breakpoints are set, the breakpoints do not stop! The pages are shown fine in the browser, but no breakpoints are hit.

Any ideas?


Nov 19 '05 #2

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

Similar topics

4
3679
by: Alexander Eisenhuth | last post by:
Hi alltogether, I use ActivePython 2.4.1 , also the debug part from http://ftp.activestate.com/ActivePython/etc/ and VC 6.0 unter Windows XP. I can't figure out howto debug my c++ extension. If i compile it as release version, I've of course no chance to set a breakpoint. If I compile as debug I get the Error-window: .... missing MSVCR71D.dll ...
1
1212
by: Visual Systems AB \(Martin Arvidsson\) | last post by:
First of all, sorry for the cross post, didn't know what NG to lay the question. Hi! I'v been trying to use the remote debugger with Visual Studio 2003. I came a cross some questions, and perhaps you wiz out there can help me? 1. When i start the debug session, the program executes as expected, i
4
2021
by: Wal Turner | last post by:
Consider the following simple class: public class ClassA { public static string VAR = "hello"; } public void MethodA() { while(true)
0
1482
by: INGSOC | last post by:
Using remote debugging, I can attach to a windows service and run it in debug mode in VS.Net 2003. The problem is this service uses two supporting dlls. On the remote service, the dlls have been registered in the GAC. They are also in the service's directory, along with their associated *.dbg symbols. Yet, any breakpoint in the dlls is not hit. The dlls are part of the project file, and breakpoints in them can be hit when I debug...
0
1103
by: Robert Millman | last post by:
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind page, 2) Breakpoint in the Page_Load, 3) debug the web page and click the submit button, 4) "step into" under debug several times, 5) The debugger does not stop at any of the statements in the click event handler. A breakpoint is needed in each...
0
1303
by: Peter Strøiman | last post by:
Hi I have a windows 2003 test server. I installed a web application on it, including the debug symbol files. I also installed the remote debugger from the Visual Studio 2003 DVD. My client is a windows xp. Neither the client nor the server is on a domain. Thus I replicated my local XP user account on the server. Then I fired up the remote debugger using the command line msvcmon -u servername\accountname
7
1821
by: AC [MVP MCMS] | last post by:
Wierd situation here. Running ASP.NET 1.1 on Win2003. I have to manually attach the debugger to a process in order to debug. So I set a breakpoint in an obvious place (like within the Page.Load event) that will catch it. For Win2003, I attach to the w3wp.exe process. I've made sure my project is building as DEBUG. I've made sure the breakpoint it reachable. I've made sure my web.config has debug=true. But when I run through the...
46
24202
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
5
2153
by: Ryan Liu | last post by:
I have this problem: "cannot continue edit while debug in VS2005". I see the same tread after I search this topic in google, but none solutions works for me. So again, I ask here. Can someone give a hand? Has MS fixed this in VS 2005? Is is fixed in VS 2008? Thanks, ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
0
8162
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
8105
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,...
1
8246
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
7039
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6076
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5532
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4109
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1413
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.