I'm trying to debug Entity Framework, and I can see the DB calls, but parameter values are not shown. I tried a bunch of options, but was not able to see any of the parameters. Is it possible? If not, it would be a total let down.
IntelliTrace always records events that happen in the Visual Studio debugger. For example, starting your application is a debugger event. Other debugger events are stopping events, which cause your application to break execution.
Enable IntelliTrace events and snapshots modeOpen Tools > Options > IntelliTrace settings, and select the option IntelliTrace events and snapshots.
Visual Studio takes snapshots of each breakpoint while debugging and allows us to take a step back with the previous state of data. You can check out the Snapshot events captured during debugging inside Diagnostic tools and navigate to the specific breakpoint by selecting the event as well.
As I know IntelliTrace doesn't show parameters for queries. It shows only command text. You need some external profiler to see queries with parameters. You can use SQL Profiler directly or try tools like:
More about profiling options can be also found in this article.
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