Diego Mijelshon
Diego Mijelshon

Reputation: 52735

Is it possible to extend Intellitrace events?

Specifically, what I'd like to do is raise new events from my apps and libraries, similar to those exposed by ADO.NET.

Real life scenario: a patch for NHibernate that shows executed queries even when they are cached (and, therefore, don't reach the ADO.NET layer)

I found a lot of documentation about using Intellitrace and intellitrace, but none about generating it.

Is this even possible? Or is everything hardcoded in the guts of VS?

Upvotes: 6

Views: 337

Answers (1)

Omer Raviv
Omer Raviv

Reputation: 11827

Check out this example to see how you can define your own IntelliTrace Events.

Upvotes: 3

Related Questions