locked
Debug two or more Class Libraries RRS feed

  • Question

  • I am not able to attach same process for two class libraries. But the two or more libraries are running under the same process. Can you please tell me how to debug more than one class libraries.

    Friday, March 25, 2011 7:38 PM

Answers

  • How about adding both class libraries to the same solution, so you open both in the same VS IDE.
    Ewald - Please remember to mark the replies as answers if they help.

    Ewald Hofman
    Blog: www.ewaldhofman.nl
    • Proposed as answer by eryang Tuesday, March 29, 2011 11:55 AM
    • Marked as answer by Hemalatha Babu Wednesday, April 6, 2011 5:47 PM
    Monday, March 28, 2011 5:54 AM

All replies

  • How about adding both class libraries to the same solution, so you open both in the same VS IDE.
    Ewald - Please remember to mark the replies as answers if they help.

    Ewald Hofman
    Blog: www.ewaldhofman.nl
    • Proposed as answer by eryang Tuesday, March 29, 2011 11:55 AM
    • Marked as answer by Hemalatha Babu Wednesday, April 6, 2011 5:47 PM
    Monday, March 28, 2011 5:54 AM
  • It is easier to

    1. Open the other library in another copy of VS

    2. Put Debugger.Break() the the class library somewhere it gets hit early. 

    3. Rebuild both.

    Whe the main IDE debug hits the break then it debugs that library too.  {Of course it would be nice if we could just tell it to do that...}

    Wednesday, April 13, 2011 9:01 PM