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?
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.
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.
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).
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.
Check out this example to see how you can define your own IntelliTrace Events.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With