intellitrace

How to avoid truncated EF query in the IntelliTrace events?

蓝咒 提交于 2019-12-09 13:13:22
问题 I'm trying to debug an entity framework query. But when the query gets too big, the query showed in the intelliTrace appears truncated (only part of the query is displayed, even if I copy and paste it in a notepad). Is there any workaround to get the entire query generated by EF? Thanks in advance. 回答1: It has been some time but it might help others. take a look at: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace\14.0.0\en\collectionplan

Why is DbContext.SaveChanges 10x slower in debug mode

妖精的绣舞 提交于 2019-12-09 04:41:26
问题 Can somebody explain Why does DbContext.SaveChanges run ~10x slower in debug mode than production mode? Is there any way I can speed this up? In debug mode, my webpage takes 116 seconds to load versus 15 seconds if I start the project without debugging. I have set trace statements and identified that ~100 of the 116 seconds is spent in my DbContext.SaveChanges method when in debug mode. Running the project without debugging only 7 seconds in spent in the same section. Let me know in the

WPF Application stalls/freezes after first interaction, like button click

老子叫甜甜 提交于 2019-12-06 20:59:44
问题 I'm currently experiencing a problem in WPF. The UI loads fine, but whenever the first user interaction is made, such as a button click, the application seems to stall, or example if I had two buttons that display a MessageBox, the first click will wait for a few seconds then show the MessageBox, but any subsequent interaction is instantaneous and responsive. Has anyone else experienced this? And if so, is there any solution? Thanks 回答1: I had the same problem. Every time I called the first

Is it possible to extend Intellitrace events?

早过忘川 提交于 2019-12-05 11:17:01
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? Check out this example to see how you can define your own IntelliTrace Events. 来源: https://stackoverflow.com/questions/5552992/is-it-possible-to-extend

WPF Application stalls/freezes after first interaction, like button click

强颜欢笑 提交于 2019-12-05 02:07:04
I'm currently experiencing a problem in WPF. The UI loads fine, but whenever the first user interaction is made, such as a button click, the application seems to stall, or example if I had two buttons that display a MessageBox, the first click will wait for a few seconds then show the MessageBox, but any subsequent interaction is instantaneous and responsive. Has anyone else experienced this? And if so, is there any solution? Thanks I had the same problem. Every time I called the first interaction from a Button or ICommand the UI would freeze for like half a second. I tracked down the issue

Visual Studio 2012 crashes every time I try to debug with error CLR20r3

假如想象 提交于 2019-12-03 15:39:31
问题 Every time I try to debug one of my apps I get the below error message. Anyone have any ideas? I tried running Visual Studio in safe mode but I get the same thing. I also tried to repair the install and completely reinstall it with no luck :(. The full Problem Signature is this: Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: devenv.exe Problem Signature 02: 11.0.50727.1 Problem Signature 03: 5011ecaa Problem Signature 04: Microsoft.IntelliTrace.Package.11.0.0 Problem

How to avoid truncated EF query in the IntelliTrace events?

那年仲夏 提交于 2019-12-03 14:18:38
I'm trying to debug an entity framework query. But when the query gets too big, the query showed in the intelliTrace appears truncated (only part of the query is displayed, even if I copy and paste it in a notepad). Is there any workaround to get the entire query generated by EF? Thanks in advance. It has been some time but it might help others. take a look at: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace\14.0.0\en\collectionplan.xml 14 refers to VS 2015 Around line 266 you will see <DiagnosticEventSpecification> go a bit furter and

Visual Studio 2012 crashes every time I try to debug with error CLR20r3

人走茶凉 提交于 2019-12-03 05:14:35
Every time I try to debug one of my apps I get the below error message. Anyone have any ideas? I tried running Visual Studio in safe mode but I get the same thing. I also tried to repair the install and completely reinstall it with no luck :(. The full Problem Signature is this: Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: devenv.exe Problem Signature 02: 11.0.50727.1 Problem Signature 03: 5011ecaa Problem Signature 04: Microsoft.IntelliTrace.Package.11.0.0 Problem Signature 05: 11.0.50727.1 Problem Signature 06: 5011dad8 Problem Signature 07: 311 Problem Signature 08:

Application identity not set Exception

我怕爱的太早我们不能终老 提交于 2019-12-03 04:20:32
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 the code works. My main issue is that I setup Logging prior to the application starting. Any help

Intellitrace not available for VS 2012 Professional edition?

杀马特。学长 韩版系。学妹 提交于 2019-12-01 15:54:45
If so, how do i turn it on? I don't see it under Tools-> Options If not, anywhere I can download it? 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? Intellitrace is not available in Microsoft Visual Studio Professional version, intellitrace is available in Visual Studio Ultimate edition only. Yes, you can have Intellitrace in Visual Studio 2013 Professional, because there is a bug in Visual Studio licencing system. It happen in some circumstances. 来源: https:/