Chitika

Monday, February 11, 2013

debug c++ activeX control of different project

Sometimes solutions are big, consisting of different project. When we have to debug these projects we get the notification that: Breakpoint will not currently be hit. No symbol loaded for this document.

To debug such project, following are the steps:

  1. Clean solution
  2. Rebuild solution
  3. Run the executable project (by setting it as startup project)
  4. When the said activeX just launched by the executable, go to debug and attach to the executable containing the activeX
  5. now, easily debug the activeX project.

No comments:

Post a Comment