Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Asp.net for server call tracking #62

Open
imdark opened this issue Jun 23, 2014 · 3 comments
Open

Support Asp.net for server call tracking #62

imdark opened this issue Jun 23, 2014 · 3 comments

Comments

@imdark
Copy link

imdark commented Jun 23, 2014

I started working on implementing this, my idea is to implement and agent wrapper around the intlitrace file so that I can see method calls and parameters when using asp.net as a backend.
The main issue is that intlitrace locks the .trace file while writing to it so the data cannot be read while the process has not stopped on a breakpoint.
Maybe this Behavior can be changed or removed (I am using this article as a reference: http://www.wintellect.com/blogs/jrobbins/vs-2010-beta-2-intellitrace-in-depth-first-look).
One option is to copy the basic api and implement my own basic tracer profiler. (I have done something similar in the past with the .net debugging api).
Another is to use il weeving to create interceptors for method calls (just like the way intlitrace does it)

@alltom
Copy link
Member

alltom commented Jun 30, 2014

Sounds like an awesome project! I'll help in whatever way I can (though I haven't used any of the things you're talking about for a decade, and I don't have Windows :).

@imdark
Copy link
Author

imdark commented Jul 2, 2014

Cool, a small update it does not seem possible to configure itrace to keep the file unlocked.
I guess its a performance choice by Microsoft, but it does seem that the collector is using memory mapped file for ipc for buffering the data before flushing into the .Itrace file so i think i might be able to hook into this file and read parameters this way.
I have found mmap for reading mmf do you know of any better way to read mmf?

@alltom
Copy link
Member

alltom commented Jul 2, 2014

Sorry, I don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants