Hi,
I found out how to do remote debugging, but now I need to debug a service.
How would I go about setting a breakpoint in a service on a remote machine, since it's Windows that starts the service, not Visual Studio?
BTW, this is VC++ 6.0.
Hi,
I found out how to do remote debugging, but now I need to debug a service.
How would I go about setting a breakpoint in a service on a remote machine, since it's Windows that starts the service, not Visual Studio?
BTW, this is VC++ 6.0.
You can use "attach to process", I'm 99.9% sure that Visual Studio supports that.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Attach to process on a remote machine?
Well, if visual studio can't do that [which I don't know for sure], and you are reasonably close to the target machine, you could use a serial cable to link the two, and then use the WinDBG debugger - it's not as slick as Visual Studio, but on the other hand it's powerful - it's more like a big 4-wheel drive truck than a Mercedes saloon car, if you see what I mean. But you can certainly step through your code, set breakpoints, view variables, etc.
If you aren't close enough to connect a serial cable [or Firewire], then I don't know what to do - get yourself closer, I suppose.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.