Wrox Programmer Forums
|
ASP.NET 4.5.1 General Discussion For ASP.NET 4.5.1 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4.5.1 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2018, 12:39 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Remote Debugging problems

I cannot seem to get remote debugging to work consistently. At the moment I have the following problems in just one VB web application:

1. When I attempt to attach to the server, VS says "The following breakpoint cannot be set...The breakpoint failed to bind" for some but not all breakpoints set. There is no explanation why binding failed. Other breakpoints appear to work while debugging remotely and ALL breakpoints work when debugging locally. I can then sometimes add breakpoints but not others.

2. I am unable to query the value of some variables, form controls or properties. Others are available.

3. Vs wants me to find the following code modules, none of which are part of or referenced directly by my code:
a. HttpWebRequest.cs (But this is VB application?)
b. f:\dd\vb\runtime\msvbalib\Information.vb - BUT, when I click the Open button for the Find Source dialog box, it says it cannot find the same file in a completely different solution, project and folder (but which I also recently had problems remote debugging). I cannot fathom why it would want to open a file in a completely unrelated solution?
c. Operators.vb everytime it hits an IF statement
d. Strings.vb every time it hits a statement referencing some string manipulation function
e. WebRequest.cs (again, this is a VB application?)
Furthermore, pressing F11 will not advance beyond these missing module errors. It just keeps asking me to find these files. However, pressing F5 appears to advance the code to the next breakpoint that was successfully bound.

What is going on? How do I make remote debugging work as advertised?
 
Old June 4th, 2018, 02:51 AM
Registered User
 
Join Date: May 2018
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

following errors when attempting to debug remotely.

Error: Unable to Automatically Step Into the Server

Error: The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer.

Unable to Connect to the Microsoft Visual Studio Remote Debugging Monitor

Error: Remote machine does not appear in a Remote Connections dialog
 
Old June 4th, 2018, 08:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

I have to start and stop the Remote Debugger myself.

I have already googling this problem and tried the following most commonly suggested solutions:

1 I have verified the IDE configuration (DEBUG any CPUs) matches the one being remotely debugged
2. That the DEBUG and TRACE constants have been set
3. That "Debug Just My Code" is disabled.

Something else appears to be wrong.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 Configuring Remote Debugging GarethHowell BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 1 July 8th, 2008 12:14 PM
[RESOLVED] Remote Debugging Issue dparsons ASP.NET 1.0 and 1.1 Professional 1 March 19th, 2007 01:19 PM
Remote Debugging BSkelding ASP.NET 1.0 and 1.1 Basics 0 February 15th, 2005 12:32 PM
remote debugging not working neethling VS.NET 2002/2003 1 November 16th, 2004 02:38 AM
Remote debugging of a windows service jaucourt Pro VB.NET 2002/2003 2 June 17th, 2004 02:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.