Question

Is it possible to see managed stack traces in Process Monitor for file access events of a given process? If not, is there the other way to accomplish such task?

Was it helpful?

Solution

Unfortunately Process Monitor does not yet support managed call stacks. But perfview is pretty good at decomposing managed stacks and it also provides a way to collect File I/O events:

Select File I/O events in Run/Collect dialog:

enter image description here

After tracing is finished you should have File I/O events available in the directory tree:

enter image description here

Double clicking it should present you a window with all collected File I/O operations

enter image description here

Each operation has a call stack registered and you may browse it on other tabs available in the events window.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top