Managed Remote Debugging

  • Thread starter christoffer.lantz
  • Start date
C

christoffer.lantz

Greetings all,

I'm struggling to get managed remote debugging to work on my XPe image,
but success has been quite absent. The only thing that happens when I
try to attach to the XPe computer is I get some unanswered traffic to
tcp port 445 and when that doesn't work it seems to try port 4015
instead, with identical results. I've tried just running msvsmon, as
well as installing it using rdbgsetup, and it seems to run okay but
never says anything other than "Waiting for new connections". The
machine has no firewall. I have COM Base and COM+ Services in my image
(even though I can not find those in component tree..?). I've fiddled
around in dcomcnfg, made no difference. Are there any additional
components I need for complete DCOM support? Do I need the Machine
Debug Manager stuff?

I find complete information on this subject very hard to find. Any
pointers or insights would be greatly appreciated.

Thanks,
Lantz
 
J

jimt

I found a *great* tutorial on the MS website written by Jon Fincher.

Search for this:
"Hodge Podge Lodge: Remote Debugging, Localization, and Globalization in
Windows XP Embedded"
 
L

Lantz

Cheers jimt, I had actually browsed by that page earlier, but I missed
the network share "trust" stuff. Also it seems a bit out of date. But
it did make a bit of a difference, I got an "invalid user name" error
instead. But as soon as I set up an account on the machine being
debugged it returned to "The Microsoft Visual Studio Remote Debugging
Monitor (MSVSMON.EXE) does not appear to be running on the remote
computer". This is starting to annoy me, can't be that hard. Any way to
find out whats happening under the hood?
 
J

jimt

I never tried remote debugging myself, but I have been following the NG on
the topic. One suggestion was to use the xp pro emulation macro (from
xpefiles.com). This would eliminate any missing components as the cause of
the problem.

The article assumes this is, and some "additional files", are on the target.
The article says you clearly have to add the monitor, and it is not a
component (at the time the article was written, at least). Were you able to
copy MSVCMON.EXE and all the assorted dll's to XPe that were mentioned in
the article? And then did you start the monitor by running the command
mentioned in the article? Also the network trust needs to be working.

You didn't mention any of them in your post; sorry if I'm mentioning things
that you already did. Maybe try task manager and see if it is really
running on xpe??

Yes, the article is old, but I don't think the remote debug mechanism has
changed over SP1, SP2, and FP2007.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top