How do i debug components under the VC++ IDE ?
First read Q166275 – HOWTO Debug a Native Code Visual Basic Component in VC++ from the Microsoft KB, then read the following tips that swhite@barkbark.demon.co.uk kindly let me publish in these FAQ. Some notes I made about this. Hope they help. Can’t debug? It’s recommended that you create an NT user under which your MTS package(s) run. If you do this, make sure you switch your compent’s package back to Interactive user (on the Identity tab) before you attempt to step into your code to debug it. Otherwise, the debug session will stop as soon as it has started with no apparent reason why. Can’t debug? Make sure any components you wish to debug are registered with a Server Package and not a Library Package in MTS. For instance, in production the Data Server will be registered with a Library Package so that it will activate in its Client’s process, thus preventing cross-process calls. But to debug it, change its Package activation to Server. Can’t debug? On the Debug tab of your project’s