I want to check how DbcontextPooling is working internally and want to debug that, is there any way I will achieve that ? Thanks in advance.
Asked
Active
Viewed 215 times
1 Answers
1
Entity framework core has source link enabled. This means you can debug the EF code just like your code. You can step into any EF method from visual studio.
Assuming you have AddDbContextPool
somewhere in your code, you can step into this call, add breakpoints.

Preben Huybrechts
- 5,853
- 2
- 27
- 63