Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 398
Diego Mijelshon Avatar asked Apr 05 '11 13:04

Diego Mijelshon


People also ask

How do I continue debugging?

Click the Resume button. to continue the debugging process until the next breakpoint, or until the end of the debugging process. Click the Terminate button. to stop the debugging process.

What primary functionality does IntelliTrace step back provide?

IntelliTrace step-back automatically takes a snapshot of your application at every breakpoint and debugger step event. The recorded snapshots enable you to go back to previous breakpoints or steps and view the state of the application as it was in the past.

Can we debug log files created by IntelliTrace?

IntelliTrace can also help you debug errors that are hard to reproduce or that happen in deployment. You can collect IntelliTrace data and save it to an IntelliTrace log file (. iTrace file).

How will you inspect your application using an IntelliTrace?

IntelliTrace takes a snapshot of the application's process on each debugger step, breakpoint event, and unhandled exception event. These events are recorded in the Events tab in the Diagnostic Tools window, along with other IntelliTrace events. To open this window, choose Debug > Windows > Show Diagnostic Tools.


1 Answers

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

like image 182
Omer Raviv Avatar answered Oct 13 '22 12:10

Omer Raviv