PC Review


Reply
Thread Tools Rate Thread

Remote debugging

 
 
=?Utf-8?B?UnViaW55?=
Guest
Posts: n/a
 
      7th Feb 2007
Hi,
I want to debug from my notebook (XP Pro) as host to target (WinXPE) with MS
VS 6.0, so use it only as a client, not a server.
I've connected them directly throuhg ethernet and I can ping correctly XP
Pro to Embedded, and Embedded to Pro too.
I've done all what required in the MSDN for remote debugging:
- srarted the MSVCMON.exe with the proper notebook IP connection settings
- In the MS VS, I've done remote debugging with the proper target IP
settings and made the settings to the project: shared the exe folder, etc.

When I tried to start debug from the notebook host, I indeed saw the
"Connecting..." window disappear for a while but my host could not connect
and yielded error for the connection. Is there something I do wrong? Maybe
component missing in target?

Help will be appreciated.

Yoav

 
Reply With Quote
 
 
 
 
KM
Guest
Posts: n/a
 
      8th Feb 2007
Yoav,

Just wondering if you included all the components mentioned in this article?
http://msdn2.microsoft.com/en-us/library/aa459140.aspx

Also, if you run the MSVCMON through DependencyWalker Profiler (Profile
menu) you may be able to see what's missing on the client side.

Regards,
KM

> Hi,
> I want to debug from my notebook (XP Pro) as host to target (WinXPE) with
> MS
> VS 6.0, so use it only as a client, not a server.
> I've connected them directly throuhg ethernet and I can ping correctly XP
> Pro to Embedded, and Embedded to Pro too.
> I've done all what required in the MSDN for remote debugging:
> - srarted the MSVCMON.exe with the proper notebook IP connection settings
> - In the MS VS, I've done remote debugging with the proper target IP
> settings and made the settings to the project: shared the exe folder, etc.
>
> When I tried to start debug from the notebook host, I indeed saw the
> "Connecting..." window disappear for a while but my host could not connect
> and yielded error for the connection. Is there something I do wrong? Maybe
> component missing in target?
>
> Help will be appreciated.
>
> Yoav



 
Reply With Quote
 
=?Utf-8?B?UnViaW55?=
Guest
Posts: n/a
 
      8th Feb 2007
Thanks, KM. The DependencyWalker made the job (although the host notifies a
difference between kernel32.dll files - is it matter?).
One more: This works only when I copy the debugged application from host to
target. I'm trying to make share folder in host but when I try to connect one
to another (they see each other) there is a screen for 'user name' and
'password' to fill-in although I don't have any password login in the target.
How can I overcome this?

Yoav

"KM" wrote:

> Yoav,
>
> Just wondering if you included all the components mentioned in this article?
> http://msdn2.microsoft.com/en-us/library/aa459140.aspx
>
> Also, if you run the MSVCMON through DependencyWalker Profiler (Profile
> menu) you may be able to see what's missing on the client side.
>
> Regards,
> KM
>
> > Hi,
> > I want to debug from my notebook (XP Pro) as host to target (WinXPE) with
> > MS
> > VS 6.0, so use it only as a client, not a server.
> > I've connected them directly throuhg ethernet and I can ping correctly XP
> > Pro to Embedded, and Embedded to Pro too.
> > I've done all what required in the MSDN for remote debugging:
> > - srarted the MSVCMON.exe with the proper notebook IP connection settings
> > - In the MS VS, I've done remote debugging with the proper target IP
> > settings and made the settings to the project: shared the exe folder, etc.
> >
> > When I tried to start debug from the notebook host, I indeed saw the
> > "Connecting..." window disappear for a while but my host could not connect
> > and yielded error for the connection. Is there something I do wrong? Maybe
> > component missing in target?
> >
> > Help will be appreciated.
> >
> > Yoav

>
>
>

 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      8th Feb 2007
Yoav,

I couldn't completely understand your questions below.
But just to bring in another idea. Have you tried using "net use .." command instead? You can provide the right credentials with
that command.

The kernel32 differences. Are you running the same SP on both machines? E.g., XPe SP2 and XP Pro SP2?

--
=========
Regards,
KM

> Thanks, KM. The DependencyWalker made the job (although the host notifies a
> difference between kernel32.dll files - is it matter?).
> One more: This works only when I copy the debugged application from host to
> target. I'm trying to make share folder in host but when I try to connect one
> to another (they see each other) there is a screen for 'user name' and
> 'password' to fill-in although I don't have any password login in the target.
> How can I overcome this?
>
> Yoav
>
> "KM" wrote:
>
>> Yoav,
>>
>> Just wondering if you included all the components mentioned in this article?
>> http://msdn2.microsoft.com/en-us/library/aa459140.aspx
>>
>> Also, if you run the MSVCMON through DependencyWalker Profiler (Profile
>> menu) you may be able to see what's missing on the client side.
>>
>> Regards,
>> KM
>>
>> > Hi,
>> > I want to debug from my notebook (XP Pro) as host to target (WinXPE) with
>> > MS
>> > VS 6.0, so use it only as a client, not a server.
>> > I've connected them directly throuhg ethernet and I can ping correctly XP
>> > Pro to Embedded, and Embedded to Pro too.
>> > I've done all what required in the MSDN for remote debugging:
>> > - srarted the MSVCMON.exe with the proper notebook IP connection settings
>> > - In the MS VS, I've done remote debugging with the proper target IP
>> > settings and made the settings to the project: shared the exe folder, etc.
>> >
>> > When I tried to start debug from the notebook host, I indeed saw the
>> > "Connecting..." window disappear for a while but my host could not connect
>> > and yielded error for the connection. Is there something I do wrong? Maybe
>> > component missing in target?
>> >
>> > Help will be appreciated.
>> >
>> > Yoav

>>
>>
>>



 
Reply With Quote
 
Greg Coleson
Guest
Posts: n/a
 
      16th Apr 2007
I have everything setup per the article mentioned.

I am using visual studio 2005.

When I execute:
msvcmon.exe -anyuseran error box pops up with:"Invalid command line
argument"When I try mscvmon.exe /? it shows anyuser as an
argument.msvcmon.exe start it up fine, but I get a message on my host
saying:msvcmon.exe does not seem to be running on the target
machine.Ideas?"KM" <konstmor@nospam_yahoo.com> wrote in message
news:%(E-Mail Removed)...
> Yoav,
>
> I couldn't completely understand your questions below.
> But just to bring in another idea. Have you tried using "net use .."
> command instead? You can provide the right credentials with that command.
>
> The kernel32 differences. Are you running the same SP on both machines?
> E.g., XPe SP2 and XP Pro SP2?
>
> --
> =========
> Regards,
> KM
>
>> Thanks, KM. The DependencyWalker made the job (although the host notifies
>> a
>> difference between kernel32.dll files - is it matter?).
>> One more: This works only when I copy the debugged application from host
>> to
>> target. I'm trying to make share folder in host but when I try to connect
>> one
>> to another (they see each other) there is a screen for 'user name' and
>> 'password' to fill-in although I don't have any password login in the
>> target.
>> How can I overcome this?
>>
>> Yoav
>>
>> "KM" wrote:
>>
>>> Yoav,
>>>
>>> Just wondering if you included all the components mentioned in this
>>> article?
>>> http://msdn2.microsoft.com/en-us/library/aa459140.aspx
>>>
>>> Also, if you run the MSVCMON through DependencyWalker Profiler (Profile
>>> menu) you may be able to see what's missing on the client side.
>>>
>>> Regards,
>>> KM
>>>
>>> > Hi,
>>> > I want to debug from my notebook (XP Pro) as host to target (WinXPE)
>>> > with
>>> > MS
>>> > VS 6.0, so use it only as a client, not a server.
>>> > I've connected them directly throuhg ethernet and I can ping correctly
>>> > XP
>>> > Pro to Embedded, and Embedded to Pro too.
>>> > I've done all what required in the MSDN for remote debugging:
>>> > - srarted the MSVCMON.exe with the proper notebook IP connection
>>> > settings
>>> > - In the MS VS, I've done remote debugging with the proper target IP
>>> > settings and made the settings to the project: shared the exe folder,
>>> > etc.
>>> >
>>> > When I tried to start debug from the notebook host, I indeed saw the
>>> > "Connecting..." window disappear for a while but my host could not
>>> > connect
>>> > and yielded error for the connection. Is there something I do wrong?
>>> > Maybe
>>> > component missing in target?
>>> >
>>> > Help will be appreciated.
>>> >
>>> > Yoav
>>>
>>>
>>>

>
>



 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      17th Apr 2007
I don't know if you noticed the link was provided to the article describing remote debugging setup using VS6 or .Net.

With VS2005 you've got some steps modified. You may want to follow this:
http://msdn2.microsoft.com/en-us/library/bt727f1t(vs.80).aspx

--
=========
Regards,
KM
>I have everything setup per the article mentioned.
>
> I am using visual studio 2005.
>
> When I execute:
> msvcmon.exe -anyuseran error box pops up with:"Invalid command line argument"When I try mscvmon.exe /? it shows anyuser as an
> argument.msvcmon.exe start it up fine, but I get a message on my host saying:msvcmon.exe does not seem to be running on the target
> machine.Ideas?"KM" <konstmor@nospam_yahoo.com> wrote in message news:%(E-Mail Removed)...
>> Yoav,
>>
>> I couldn't completely understand your questions below.
>> But just to bring in another idea. Have you tried using "net use .." command instead? You can provide the right credentials with
>> that command.
>>
>> The kernel32 differences. Are you running the same SP on both machines? E.g., XPe SP2 and XP Pro SP2?
>>
>> --
>> =========
>> Regards,
>> KM
>>
>>> Thanks, KM. The DependencyWalker made the job (although the host notifies a
>>> difference between kernel32.dll files - is it matter?).
>>> One more: This works only when I copy the debugged application from host to
>>> target. I'm trying to make share folder in host but when I try to connect one
>>> to another (they see each other) there is a screen for 'user name' and
>>> 'password' to fill-in although I don't have any password login in the target.
>>> How can I overcome this?
>>>
>>> Yoav
>>>
>>> "KM" wrote:
>>>
>>>> Yoav,
>>>>
>>>> Just wondering if you included all the components mentioned in this article?
>>>> http://msdn2.microsoft.com/en-us/library/aa459140.aspx
>>>>
>>>> Also, if you run the MSVCMON through DependencyWalker Profiler (Profile
>>>> menu) you may be able to see what's missing on the client side.
>>>>
>>>> Regards,
>>>> KM
>>>>
>>>> > Hi,
>>>> > I want to debug from my notebook (XP Pro) as host to target (WinXPE) with
>>>> > MS
>>>> > VS 6.0, so use it only as a client, not a server.
>>>> > I've connected them directly throuhg ethernet and I can ping correctly XP
>>>> > Pro to Embedded, and Embedded to Pro too.
>>>> > I've done all what required in the MSDN for remote debugging:
>>>> > - srarted the MSVCMON.exe with the proper notebook IP connection settings
>>>> > - In the MS VS, I've done remote debugging with the proper target IP
>>>> > settings and made the settings to the project: shared the exe folder, etc.
>>>> >
>>>> > When I tried to start debug from the notebook host, I indeed saw the
>>>> > "Connecting..." window disappear for a while but my host could not connect
>>>> > and yielded error for the connection. Is there something I do wrong? Maybe
>>>> > component missing in target?
>>>> >
>>>> > Help will be appreciated.
>>>> >
>>>> > Yoav
>>>>
>>>>
>>>>

>>
>>

>
>



 
Reply With Quote
 
Greg Coleson
Guest
Posts: n/a
 
      17th Apr 2007
Thanks for the link.

Still gettting the same response.

I disabled the firewall on the host and remote machine.

I noticed there is a process svchost.exe listening on port 135 all the time,
even if i don't have msvsmon.exe installed

I can ping the system and telnet can open port 135 on the remote machine
from the host machine.

Any ideas?

"KM" <konstmor@nospam_yahoo.com> wrote in message
news:%(E-Mail Removed)...
>I don't know if you noticed the link was provided to the article describing
>remote debugging setup using VS6 or .Net.
>
> With VS2005 you've got some steps modified. You may want to follow this:
> http://msdn2.microsoft.com/en-us/library/bt727f1t(vs.80).aspx
>
> --
> =========
> Regards,
> KM
>>I have everything setup per the article mentioned.
>>
>> I am using visual studio 2005.
>>
>> When I execute:
>> msvcmon.exe -anyuseran error box pops up with:"Invalid command line
>> argument"When I try mscvmon.exe /? it shows anyuser as an
>> argument.msvcmon.exe start it up fine, but I get a message on my host
>> saying:msvcmon.exe does not seem to be running on the target
>> machine.Ideas?"KM" <konstmor@nospam_yahoo.com> wrote in message
>> news:%(E-Mail Removed)...
>>> Yoav,
>>>
>>> I couldn't completely understand your questions below.
>>> But just to bring in another idea. Have you tried using "net use .."
>>> command instead? You can provide the right credentials with that
>>> command.
>>>
>>> The kernel32 differences. Are you running the same SP on both machines?
>>> E.g., XPe SP2 and XP Pro SP2?
>>>
>>> --
>>> =========
>>> Regards,
>>> KM
>>>
>>>> Thanks, KM. The DependencyWalker made the job (although the host
>>>> notifies a
>>>> difference between kernel32.dll files - is it matter?).
>>>> One more: This works only when I copy the debugged application from
>>>> host to
>>>> target. I'm trying to make share folder in host but when I try to
>>>> connect one
>>>> to another (they see each other) there is a screen for 'user name' and
>>>> 'password' to fill-in although I don't have any password login in the
>>>> target.
>>>> How can I overcome this?
>>>>
>>>> Yoav
>>>>
>>>> "KM" wrote:
>>>>
>>>>> Yoav,
>>>>>
>>>>> Just wondering if you included all the components mentioned in this
>>>>> article?
>>>>> http://msdn2.microsoft.com/en-us/library/aa459140.aspx
>>>>>
>>>>> Also, if you run the MSVCMON through DependencyWalker Profiler
>>>>> (Profile
>>>>> menu) you may be able to see what's missing on the client side.
>>>>>
>>>>> Regards,
>>>>> KM
>>>>>
>>>>> > Hi,
>>>>> > I want to debug from my notebook (XP Pro) as host to target (WinXPE)
>>>>> > with
>>>>> > MS
>>>>> > VS 6.0, so use it only as a client, not a server.
>>>>> > I've connected them directly throuhg ethernet and I can ping
>>>>> > correctly XP
>>>>> > Pro to Embedded, and Embedded to Pro too.
>>>>> > I've done all what required in the MSDN for remote debugging:
>>>>> > - srarted the MSVCMON.exe with the proper notebook IP connection
>>>>> > settings
>>>>> > - In the MS VS, I've done remote debugging with the proper target IP
>>>>> > settings and made the settings to the project: shared the exe
>>>>> > folder, etc.
>>>>> >
>>>>> > When I tried to start debug from the notebook host, I indeed saw the
>>>>> > "Connecting..." window disappear for a while but my host could not
>>>>> > connect
>>>>> > and yielded error for the connection. Is there something I do wrong?
>>>>> > Maybe
>>>>> > component missing in target?
>>>>> >
>>>>> > Help will be appreciated.
>>>>> >
>>>>> > Yoav
>>>>>
>>>>>
>>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      18th Apr 2007
DCOM RPC is sitting on port 135.

You may want to check the steps from this article: http://support.microsoft.com/kb/908099

--
=========
Regards,
KM

> Thanks for the link.
>
> Still gettting the same response.
>
> I disabled the firewall on the host and remote machine.
>
> I noticed there is a process svchost.exe listening on port 135 all the time, even if i don't have msvsmon.exe installed
>
> I can ping the system and telnet can open port 135 on the remote machine from the host machine.
>
> Any ideas?
>
> "KM" <konstmor@nospam_yahoo.com> wrote in message news:%(E-Mail Removed)...
>>I don't know if you noticed the link was provided to the article describing remote debugging setup using VS6 or .Net.
>>
>> With VS2005 you've got some steps modified. You may want to follow this:
>> http://msdn2.microsoft.com/en-us/library/bt727f1t(vs.80).aspx
>>
>> --
>> =========
>> Regards,
>> KM
>>>I have everything setup per the article mentioned.
>>>
>>> I am using visual studio 2005.
>>>
>>> When I execute:
>>> msvcmon.exe -anyuseran error box pops up with:"Invalid command line argument"When I try mscvmon.exe /? it shows anyuser as an
>>> argument.msvcmon.exe start it up fine, but I get a message on my host saying:msvcmon.exe does not seem to be running on the
>>> target machine.Ideas?"KM" <konstmor@nospam_yahoo.com> wrote in message news:%(E-Mail Removed)...
>>>> Yoav,
>>>>
>>>> I couldn't completely understand your questions below.
>>>> But just to bring in another idea. Have you tried using "net use .." command instead? You can provide the right credentials
>>>> with that command.
>>>>
>>>> The kernel32 differences. Are you running the same SP on both machines? E.g., XPe SP2 and XP Pro SP2?
>>>>
>>>> --
>>>> =========
>>>> Regards,
>>>> KM
>>>>
>>>>> Thanks, KM. The DependencyWalker made the job (although the host notifies a
>>>>> difference between kernel32.dll files - is it matter?).
>>>>> One more: This works only when I copy the debugged application from host to
>>>>> target. I'm trying to make share folder in host but when I try to connect one
>>>>> to another (they see each other) there is a screen for 'user name' and
>>>>> 'password' to fill-in although I don't have any password login in the target.
>>>>> How can I overcome this?
>>>>>
>>>>> Yoav
>>>>>
>>>>> "KM" wrote:
>>>>>
>>>>>> Yoav,
>>>>>>
>>>>>> Just wondering if you included all the components mentioned in this article?
>>>>>> http://msdn2.microsoft.com/en-us/library/aa459140.aspx
>>>>>>
>>>>>> Also, if you run the MSVCMON through DependencyWalker Profiler (Profile
>>>>>> menu) you may be able to see what's missing on the client side.
>>>>>>
>>>>>> Regards,
>>>>>> KM
>>>>>>
>>>>>> > Hi,
>>>>>> > I want to debug from my notebook (XP Pro) as host to target (WinXPE) with
>>>>>> > MS
>>>>>> > VS 6.0, so use it only as a client, not a server.
>>>>>> > I've connected them directly throuhg ethernet and I can ping correctly XP
>>>>>> > Pro to Embedded, and Embedded to Pro too.
>>>>>> > I've done all what required in the MSDN for remote debugging:
>>>>>> > - srarted the MSVCMON.exe with the proper notebook IP connection settings
>>>>>> > - In the MS VS, I've done remote debugging with the proper target IP
>>>>>> > settings and made the settings to the project: shared the exe folder, etc.
>>>>>> >
>>>>>> > When I tried to start debug from the notebook host, I indeed saw the
>>>>>> > "Connecting..." window disappear for a while but my host could not connect
>>>>>> > and yielded error for the connection. Is there something I do wrong? Maybe
>>>>>> > component missing in target?
>>>>>> >
>>>>>> > Help will be appreciated.
>>>>>> >
>>>>>> > Yoav
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
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
controling remote COM+ and remote debugging Peted Microsoft C# .NET 1 17th Oct 2008 11:40 AM
remote debugging from .NET to UNIX remote machine =?Utf-8?B?RGFuaWVsIEthYnpvbg==?= Microsoft Dot NET 0 23rd Dec 2004 01:27 PM
Remote Debugging chris fink Microsoft C# .NET 0 8th Mar 2004 07:59 PM
Remote Debugging chris fink Microsoft C# .NET 1 1st Mar 2004 07:41 PM
Remote Debugging chris fink Microsoft C# .NET 0 1st Mar 2004 04:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:20 PM.