Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > ASP.NET 4.5.1 General Discussion
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 1st, 2018, 01:39 PM
Friend of Wrox
Points: 2,813, Level: 22
Points: 2,813, Level: 22 Points: 2,813, Level: 22 Points: 2,813, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
Posts: 427
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?
Reply With Quote
  #2 (permalink)  
Old June 4th, 2018, 03:51 AM
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
  #3 (permalink)  
Old June 4th, 2018, 09:43 AM
Friend of Wrox
Points: 2,813, Level: 22
Points: 2,813, Level: 22 Points: 2,813, Level: 22 Points: 2,813, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
Posts: 427
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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 01:14 PM
[RESOLVED] Remote Debugging Issue dparsons ASP.NET 1.0 and 1.1 Professional 1 March 19th, 2007 02: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 03:49 AM



All times are GMT -4. The time now is 10:13 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.