intellitrace

IntellitraceFile throwing strange error

帅比萌擦擦* 提交于 2020-01-06 04:41:08
问题 Can someone explain this error? (it showed up after enabling tracing in the collection plan.) Test method ExecuteTaskTest threw exception: System.ArgumentException: An item with the same key has already been added. System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) Microsoft.VisualStudio.IntelliTrace.IntelliTraceProcess.AddModule(IntelliTraceModule module) Microsoft.VisualStudio.IntelliTrace

Is it possible to extend Intellitrace events?

有些话、适合烂在心里 提交于 2020-01-02 04:48:05
问题 Specifically, what I'd like to do is raise new events from my apps and libraries, similar to those exposed by ADO.NET. Real life scenario: a patch for NHibernate that shows executed queries even when they are cached (and, therefore, don't reach the ADO.NET layer) I found a lot of documentation about using Intellitrace and intellitrace, but none about generating it. Is this even possible? Or is everything hardcoded in the guts of VS? 回答1: Check out this example to see how you can define your

IntelliTrace Historical Debugging does not jump in Click-EventHandler

≯℡__Kan透↙ 提交于 2019-12-24 20:42:33
问题 I have created a small WPF-Application with one Button and a Label. The Click-Eventhandler of the Button do private void Button_Click(object sender, RoutedEventArgs e) { var s = this.Height; this.lbl.Content = s; } I have activated IntelliTrace Event collecting. When I run debug and click on the Button, I see in the IntelliTrace-Event-List the corresponding events: When I click on "Activate Historical Debugging" Visual Studio shows the following: and this StackTrace: Why can I not jump to the

IntelliTrace not logging

扶醉桌前 提交于 2019-12-24 05:45:11
问题 I have been using IntelliTrace.exe for wpf application to collect the iTrace log. IntelliTrace.exe resides in the below system path "C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools" When I use IntelliTrace with launch switch its working fine. IntelliTrace.exe launch /cp:"mycollectionplan.xml" /f:"iTraceFilewithFullpath" "ApplicationwithFullpath" - LAUNCH CMD But when I use IntelliTrace with start or run,iTrace file of size around 160,000 KB has been created and

Application identity not set Exception

我怕爱的太早我们不能终老 提交于 2019-12-20 16:20:57
问题 I have just converted a project to VS2010 and I now starting to see Exceptions in my software in IntelliTrace. One such Exception is 'Application identity is not set', this occurs whenever my software see's something like string m_AppPath = Application.UserAppDataPath; This isn't a problem as the AppDataPath returns correctly, I'm just wondering why this happens. The code is in the Main function of Program.cs (if that makes a difference), once out of the Program.cs file and into MainWindow.cs

Intellitrace not available for VS 2012 Professional edition?

六眼飞鱼酱① 提交于 2019-12-19 15:14:35
问题 If so, how do i turn it on? I don't see it under Tools-> Options If not, anywhere I can download it? 回答1: Here is the product matrix from the Microsoft Visual Studio 2012 site. It shows that it is only available for the Ultimate edition. Are you sure your coworker has it on Pro? 回答2: Intellitrace is not available in Microsoft Visual Studio Professional version, intellitrace is available in Visual Studio Ultimate edition only. 回答3: Yes, you can have Intellitrace in Visual Studio 2013

IntelliTrace Arguments By Reference

久未见 提交于 2019-12-12 03:47:43
问题 Using IntelliTrace, I'm unable to see the output of a string passed by reference into a method and the result of the method in the same event (or at all). Method example: public bool ByReferenceTestMethod(System.ArgumentNullException exception, ref string referenceArgument) { referenceArgument = string.Format("referenceArgument{0}", exception.Message); return true; } collectionplan.xml example working without reference argument reference: <DiagnosticEventSpecification> <CategoryId

Intellitrace fails when debugging Cannot debug some of the code in process w3wp.exe

自闭症网瘾萝莉.ら 提交于 2019-12-12 03:25:19
问题 I've recently upgraded from VS2015 Professional Update 2 to VS2015 Enterprise Update 2. The process was rather buggy. First I attempted to upgrade directly from Pro Update 2 to Ent Update 1, as that was the media I had. This provided all sorts of install errors. C++ redistro install failed (version wrong), Connected Services (package failed) Azure Connected Services (package failed) Eventually I completely uninstalled Pro & C++ redistros (x86 & 64), rebooted and installed a fresh copy of

Add Existing Form To Project Causes Intellitrace To Crash

纵饮孤独 提交于 2019-12-11 08:42:37
问题 I am creating a new project that requires 4 or 5 forms that have already been created in previous projects. I added them by right clicking on the project -> add existing -> browse to form and add Form.cs, form.Designer.cs, and Form.resx I went in and changed the namespace on the form. Now when I try to run the project in debug mode, IntelliTrace crashes. The program opens, but takes like 5 minutes to stop "Running" in VS after I close it. I'm 95% sure the only thing that can be the cause of

Dragging the instruction pointer backward while debugging in Visual Studio

余生颓废 提交于 2019-12-10 23:37:27
问题 For a demonstrating, take a look at the following section of this video. Basically, I know this is possible in Visual Studio Community Edition 2015. I was wondering: a) Is this related to Intellitrace and "Historic debugging"? b) Will there be any side-effect when I do this? Or is this just moving the instructions backwards and that's it? 回答1: It is just moving the instruction pointer backwards and that's it, to use your own words. This means that: Any side-effects already incurred between