Debugging simulataneously with VS2005 and PB?



I'm not sure if I'm trying to do the impossible here! Would greatly appreciate comments.

I want to investigate the interaction between an application and one of the device drivers it accesses.

The pre-installed (flash) image on my device doesn't have kernel debug or KITL turned on. So I've built an OS image with Kernel debug and KITL enabled (its a release image, not a debug image - I'm having trouble getting the debug image to start with KITL enabled - I think I know why, but that's a separate story!).

My application is built under VS2005 (native code). I'd like to be able to debug it within VS2005, whilst running the OS on the device under Kernel Debug.

That means having Kernel Debug connected to the device via KITL and VS2005 connected at the same time via KITL. Doesn't seem to work for me - I can't get VS2005 to connect to the device.

Am I being hopelessly optimistic or just dumb?

Next step would be to move my app over as a PB project, but I'd rather avid that if I can.

Tony
.