PC Review


Reply
Thread Tools Rate Thread

Debugging a remote machine

 
 
Guy Noir
Guest
Posts: n/a
 
      11th Jan 2006
Hello.

I am trying to debug remotely for the first time.
I have 2 machines, identical credentials.

Machine 1: Running VS2005.Net
Machine 2: Running msvsmon.exe from a network share pointing to Machine
1.

On machine 1, I can point to machine 2 and attach to the process just
fine. However, I get the message that says:

The following module was built either with optimizations enabled or
without debug information:
C:\Program Files\Default Company Name\GDLoggerInstaller\GDLogger.exe
To debug this module, change its project build configuration to Debug
mode. To suppress this message, disable the 'Warn if no user code on
launch' debugger option.

This project is indeed built as a debug build.

What am I doing wrong?

Thanks in advance!
-A

 
Reply With Quote
 
 
 
 
Alan Pretre
Guest
Posts: n/a
 
      11th Jan 2006
"Guy Noir" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On machine 1, I can point to machine 2 and attach to the process just
> fine. However, I get the message that says:
>
> The following module was built either with optimizations enabled or
> without debug information:
> C:\Program Files\Default Company Name\GDLoggerInstaller\GDLogger.exe
> To debug this module, change its project build configuration to Debug
> mode. To suppress this message, disable the 'Warn if no user code on
> launch' debugger option.
>
> This project is indeed built as a debug build.


Hi. Not sure about your specific problem but two things to watch out for...
You have to be very positive that the version on the remote machine is
EXACTLY the same build that you have on the local machine (that you have in
the debugger), then also make sure that the .pdb files are also on the
remote machine with the binaries.

-- Alan


 
Reply With Quote
 
Guy Noir
Guest
Posts: n/a
 
      11th Jan 2006
Brilliant. Copying the .pdb files over has solved the remote debugging
issue.
Thanks for the help!
-A

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote debugging: Unable to map the debug start page URL to a machine name Tom wilson Microsoft Dot NET Framework 1 17th May 2005 07:08 AM
Remote debugging: Unable to map the debug start page URL to a machine name Tom wilson Microsoft VB .NET 1 17th May 2005 07:08 AM
Remote debugging: Unable to map the debug start page URL to a machine name Tom wilson Microsoft Dot NET 1 17th May 2005 07:08 AM
remote debugging from .NET to UNIX remote machine =?Utf-8?B?RGFuaWVsIEthYnpvbg==?= Microsoft Dot NET 0 23rd Dec 2004 12:27 PM
Debugging on remote machine =?Utf-8?B?Sm9obg==?= Microsoft Dot NET Framework 2 6th Feb 2004 11:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.