baruchiro
baruchiro

Reputation: 5801

Get visual studio debug event in VS extension

How do I write an extension to Visual Studio that will run during debug? I saw kinds of UI or code editor options, but not the software events.

Upvotes: 0

Views: 119

Answers (1)

Sergey Vlasov
Sergey Vlasov

Reputation: 27880

DTE.Events.DebuggerEvents gives you access to VS debugger events:

    events = DTE.Events;
    debuggerEvents = events.DebuggerEvents;
    debuggerEvents.OnEnterRunMode += OnEnterRunMode;

Upvotes: 2

Related Questions