Re: have way to debug Service in remote machine?



Hi,
Yes, I install: msvcmon.exe
But when I start debug in local machine, I receive: Unable to attach to
machine 200.211.161.64;the console in remote machine show:
---------------------------------------------------------------
**TCP-IP Mode**

WARNING: TCP-IP mode is not a secure way to debug your application. For
better
security use msvcmon in pipe mode or the default port in the processes
dialog to debug your application.

To use the default port you will need to install the full set of remote
debugging components. For further information see 'Remote Debug Setup' in
Help.

*Msvcmon will timeout and exit in 15 minutes*
Waiting for Connections - everyone is allowed access
A Debug session has been started for user: renato

--------------------------------------------------------------

I'm a administrador of domain.

My configuration in VC is:

Project Settings for a C or C++ Debug Configuration
Command= \\Trinity-server\Trinity Systems\Ultimate Card
System\DEF$Incoming\incomingservr.exe (it (VS)ask for I find exe,)
Command Arguments=void
Working Directory=void
Attach = yes
Symbol Path=void
Debugger Type= Native Only
SQL Debugging=yes
Connection=Remote via TCP/IP
Remote Machine= Remote Machine IP ( I did also try name of server)
Remote Command=\\Trinity-server\Trinity Systems\Ultimate Card
System\DEF$Incoming\incomingservr.exe
HTTP URL=void

thanks


""Gary Chang[MSFT]"" <v-garych@xxxxxxxxxxxxxxxxxxxx> escreveu na mensagem
news:QoyrSh1vFHA.1364@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
>>I did try this, but I don't have sussess:
>>
>>1-Project Settings for a C or C++ Debug Configuration
>>1.1-Attach -> YES
>>1.2-Connection -> Remote via TCP/IP
>>1.2-Remote Machine -> My servername
>
> Would you please tell me what's result message do you get, and have you
> installed the remote debugging component in the target machine?
>
> For remote debugging using TCP/IP, you need to install the Remote Debug
> Monitor and run it on the remote machine. The Remote Debug Monitor
> (Msvcmon.exe) is a small console application that communicates with the
> debugger host and controls the execution of the program that you are
> debugging. And you also need the required permissions to debug service
> remotely, please refer to the following MSDN doc for the details:
>
> Remote Debugging with the Remote Debug Monitor
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/htm
> l/vctskinstallingremotedebugmonitor.asp
>
> Remote Debugging Setup
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/htm
> l/vxoriremotedebuggingsetup.asp
>
> Thanks for your understanding!
>
> Best regards,
>
> Gary Chang
> Microsoft Community Support
> --------------------
> Get Secure! ¡§C www.microsoft.com/security
> Register to Access MSDN Managed Newsgroups!
> http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
> &SD=msdn
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> --------------------
>>From: "ReTF" <re.tf@xxxxxxxxxxxxxxxx>
>>Subject: have way to debug Service in remote machine?
>>Date: Wed, 21 Sep 2005 09:58:33 -0300
>>Lines: 17
>>X-Priority: 3
>>X-MSMail-Priority: Normal
>>X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
>>X-RFC2646: Format=Flowed; Original
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
>>Message-ID: <#VbvZtqvFHA.3452@xxxxxxxxxxxxxxxxxxxx>
>>Newsgroups: microsoft.public.vc.debugger
>>NNTP-Posting-Host: 200-211-161-64-amr.cpe.vivax.com.br 200.211.161.64
>>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
>>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.vc.debugger:2402
>>X-Tomcat-NG: microsoft.public.vc.debugger
>>
>>Hi All,
>>I'm develope a Windows Service, but this service need run in my server (to
>>see if it work correctly), i would like know if have way to do this in
>>VC.NET2003.
>>
>>I did try this, but I don't have sussess:
>>
>>1-Project Settings for a C or C++ Debug Configuration
>>1.1-Attach -> YES
>>1.2-Connection -> Remote via TCP/IP
>>1.2-Remote Machine -> My servername
>>
>>Anyone can help-me?
>>
>>Thanks
>>
>>
>>
>


.



Relevant Pages

  • Return argument has an invalid type - does remoting work reliably at all?
    ... > remote object, ... > remote object returns (I can debug to that point. ... "Advanced .Net Remoting" by Ingo Rammer, his website, msdn, articles on ... .Net Remoting is really a pain to work with. ...
    (microsoft.public.dotnet.framework.remoting)
  • RE: Assembly reported as built without debug info - that is not true
    ... enabled or without debug information:..." ... successfully remote debug any other assembly which is not in the GAC? ... in the Modules window's loading assemblies' list, ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • RE: Cannot attach debugger to a remote process
    ... You are talking about remote debugging. ... and type in your remote machine ... Cannot attach debugger to a remote process ...
    (microsoft.public.vc.debugger)
  • Remote debugging broken on WinXP Pro SP2
    ... I've run across an unusual remote debugging problem... ... I've got 2 virtual machines running under VMware Workstation v5.5, one is WinXP Pro SP2 and the other is Win2K3 SP1. ... I can perform remote debugging w/o any problems. ... With the WinXP Pro SP2 VM, I cannot get the Visual C/C++ IDE to connect to the remote debug agent. ...
    (microsoft.public.vc.debugger)
  • Re: Debugging Woes
    ... I'm trying to debug on a remote machine. ... "Error while trying to run project: Unable to start debugging on the web ...
    (microsoft.public.dotnet.framework.aspnet)