문제

I am trying to profile Excel addins written in C# with dotTrace.

I am able to connect to excel and profile my code when I select "attach to process" in dottrace, but when I want to use the "standalone application" mode (that allows for more options), then dottrace seems to think that excel is loading .Net v.2 and so it doesn't see my addins.

Any idea about how to force dottrace to profile .net 4.0 addins?

EDIT: I found that some other addins was loading .NET v2 before my addins were loading v4, and that dottrace takes the first one. Any way I can force which one to trace?

도움이 되었습니까?

해결책

You can switch between two processes with same names and ID's, but with 2 different CLR versions in the controller window (above controller buttons).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top