4

Is there a .Net equivalent or analogue for dtrace?

  • 1
    It'd help if you explained shortly what dtrace is, because some people may be familiar with something like that on .NET while not knowing dtrace at all. – Joey Feb 14 '16 at 09:27

3 Answers3

2

Not directly in the sense of a system where you can 'script' the way you can with DTrace.

However there is Event Tracing (Good intro), which combined with Performance monitoring and Powershell (Powershell and ETW ) could provide you with the information you need. It is not specific to .NET but encompasses a given .NET process (use perfmon for the .NET specific items).

S.Skov
  • 707
  • 4
  • 8
1

Now that ASP.NET can be run on Linux compatible containers, and those linux compatible containers can be run on SmartOS instead, in effect there may be a possibility of running Dtrace to assist with debugging .NET Code or CoreCLR code at least. In fact this has now been done: https://www.joyent.com/blog/running-and-debugging-coreclr-on-triton

Thomas
  • 11
  • 1
0

Yes there are Windbg and also perfmon

oo_dev
  • 777
  • 7
  • 20
Mitch Wheat
  • 295,962
  • 43
  • 465
  • 541