Question

I have a self hosted WCF service that receives instructions and loads the appropriate assembly to perform work. I would like to debug a running instance with Intellitrace, but when I attach Visual Studio (with the assembly's project open to the running process) the intellitrace pane remains blank. I am attaching with Native and Managed v4.0, 4.5. I have symbols loaded and can breakpoint and view property information. Intellitrace just doesn't seem to want to monitor the process.

Any thoughts?

Was it helpful?

Solution

IntelliTrace do not support attaching to a already running process, you need to launch the process either from Visual Studio or from command line with IntelliTrace to monitor it. Also mix mode debugging (debug both Native and Managed code) isn't supported by IntelliTrace.

Note that assemblies loaded by Assembly.LoadFrom() will still be monitored by IntelliTrace so long as IntelliTrace is properly enabled on the loader process. In you case IntelliTrace will decide not to monitor anything.

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