سؤال

I'm using Visual Studio 2008 on C# code.

I would like to only break on a breakpoint if another breakpoint has been hit (and broken upon.) Is there a way of doing that?

I would imagine as a subproblem it would be nice to get access to the information that the debugger has.

The rationale for this is I'm interested in only breaking on a certain breakpoint given a certain callstack (and at a certain point in the execution of one of those functions in the callstack). Perhaps I should be using the callstack instead? Another reason is it would be interesting to have programmatic access to the stuff that the debugger knows about.

Thanks.

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top