By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,916 Members | 1,286 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,916 IT Pros & Developers. It's quick & easy.

How to debug component written in VS2003 in a VS2005 application

P: n/a
I have a component that was developed in VS2003 that I need to debug in a
VS2005 application.

Basic steps are:

Build the component for Debug in VS2003.
Set the following VS2003 project properties for the component:
Project Configuration Properties Debugging Debug Mode = Program
Project Configuration Properties Debugging Start Application = <path
to application built in VS2005>

When I select Menu Debug Start, I get the following message:

Error while trying to run project: Unable to start debugging
Unable to start program 'c:\<path to application built in VS2005>'

Same setup works fine if a VS2003 application is specified for Start
Application.

Any ideas?
Mar 14 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
I need to set breakpoints in the VS2003 component, not the VS2005 application.

Mar 14 '08 #2

P: n/a
That's what I'm doing, but it's clunky.

If I hit a breakpoint and find that i need to make a change in the
component, you need to switch over to VS2003, make change, rebuild, then
rebuild VS2005 project and run.

Why does VS2003 care what type of application it is being told to run?

In VC++ 6 you can run any type of app from the debugger.
Mar 15 '08 #3

P: n/a
Ok, so the answer is that I need to switch back and forth between compilers,
correct?

I guess I'm spoiled. Since I can launch a VS2003 or VS2005 app from VC++ 6.0
to debug an ActiveX Control in a .NET application, I expected the same from
VS.NET.

Thanks for the info.
Mar 15 '08 #4

P: n/a
Additionally, I am not sure if I have understood you completely. Since you
have the VS2005 tool, why can't you just re-build your VS.net2003 component
in VS2005 compiler and IDE? .Net2.0 has good forward compatibility of
..Net1.1, so your VS.net2003 component shoud run without any problem after
compiling under VS2005.

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
Mar 17 '08 #5

P: n/a
Hi,

Have you reviewed my last replies to you? Does it make sense to you? If you
need any help or have any concern, please feel free to tell me, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 19 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.