JScript Debugger– “Unable to attach the process. Another debugger might be attached to the process” – while application is running from Visual Studio. [ Solution ] January 20, 2012Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, ASP.NET 4.5, Tips and Tricks, Visual Studio, Visual Studio 2010, Visual Studio 2011.
Tags: ASP.Net, codeproject, Debugging, Visual Studio
Not able to view all the running Worker Process in Visual Studio – Process Attach Window – Resolution August 18, 2011Posted by Abhijit Jana in ASP.NET, Debugging, IIS, Visual Studio.
Tags: Beginners, Debugging, IIS, IIS 7.0, Process Attach, WorkerProcess
1 comment so far
This might be a very simple and known to most of us, but I found it as a query in a discussion forum of one of my article “Debug your ASP.NET Application while Hosted on IIS” which was published at Code Project . Question was regarding list of worker processes in “Process Attach window” of Visual studio. Though all the sites are running properly on IIS, still he was not able to view any processes in “Attach Process Window” while trying to attach a process from Visual Studio.
Tags: .NET, DataTips, Debugging, Track out of scope Object, Visual Studio 2010
Visual Studio 2010 introduced a nice new “DataTip pinning” features that enable you to better track of variable and expression while debugging. I am sure by this time you must be knowing what is “Data Tips” and different features of it. In In this Post I am going to share a small tip which talks about tracking some out of scope object using DataTips while debugging.
Tags: .iTrace, Debugging, IntelliTrace, Tips, Visual Studio 2010, Visual Studio 2010 SP 1, Visual Studio 2010 Ultimate
IntelliTrace debugging is only available with Visual Studio 2010 Ultimate Edition, which collects debugging information in background and can be used at any point to time to analysis previous debugging data. IntelliTrace collected debugger information into a trace log file (.iTrace ) that can then be opened and debugged using Visual Studio later. Size of .iTrace was always a concerns, as it’s take huge amount of your hard drive space and IntelliTrace is on by default. So whenever you are doing F5 debugging in Visual studio .iTrace is getting saved and it’s consuming your hard drive.
Well, before moving forward, I must thank to Larry Guger , Program Manager for IntelliTrace features . Yesterday I had a discussion with him on IntelliTrace . During discussion I found there are several changes on IntelliTrace log saving which has been shifted with Visual Studio 2010 SP1. I have already blogged about few of them over here
. But few hidden stuff was missing which I got to know from Larry only. In this post I am going to discussed about those changes.
Tags: capturing module Information, Debugging, IntelliTrace
I am sure by this time all of you already aware of what is IntelliTrace Debugging. Just to give a quick overview, IntelliTrace is a new features of Visual Studio 2010 Ultimate Edition. By default IntelliTrace is enabled . During debugging in Visual Studio, IntelliTrace works in the background and collect debugging information automatically and stored them in IntelliTrace Log File (. iTrace File ) . You can use the log file at any point of time to see what happened exactly at background during your live debugging. To know more details, you can see my several articles published on IntelliTrace and for step by step guide read “Debugging Application using IntelliTrace” from MSDN .
Using IntelliTrace you can capture module specific information. This is really helpful when you don’t want to debug certain modules during your debugging process. In this post I am going to discuss about how you can collect module specific information using IntelliTrace.
Tags: .NET, ASP.Net, asp.net 4.0, C#, Debugging, MVC, Silverlight 4.0, Visual Studio, Visual Studio Editor, windows phone
1 comment so far
Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET. In this post I am quickly listing down all the tips which are posted over the month April 2011.
100 Useful .NET Tips & Tricks April 15, 2011Posted by Abhijit Jana in .NET 4.0, ASP.NET 4.0, Debugging, Tips and Tricks.
Tags: asp.net 4.0, C#, dailydotnettips, Debugging, Silverlight 4.0, Tips & Tricks
1 comment so far
Daily .NET Tips is aiming to sharing useful coding tips and tricks for .NET Developers. This site completely design for sharing Tips and Tricks, useful Code Snippet which anyone use in daily development work and targeted anything related with .NET. I started with this new site few months back and with in short time period we have total 100 Tips which mainly focused on the practical oriented problem. You can find tips related with C#, ASP.NET, Silverlight, WPF, WCF, JQuery, WP7 etc.
To know more ……
Subscribe Tips to your mail box :
For Quick Update Follow : @dailydotnettips
Looking forward more contribution from all of you.
14 Useful .NET Debugging Tips & Tricks in Visual Studio March 12, 2011Posted by Abhijit Jana in .NET 4.0, Debugging, Tips and Tricks.
Tags: .NET, C#, Debugging, Tips & Tricks
add a comment
List of few useful debugging tips and tricks
Video Webcast: 10 Tips you should know about “Watch Window” While debugging in Visual Studio January 3, 2011Posted by Abhijit Jana in Debugging, Visual Studio.
Tags: Debugging, Tips, Visual Studio, watch window
Few months back I have published an article on 10 Tips you should know about “Watch Window” While debugging in Visual Studio , where I have explained about 10 useful tips on watch window. Here I am sharing you the quick video webcast on that.
New Features of IntelliTrace Debugging in Visual Studio 2010 – Service Pack 1 Beta December 15, 2010Posted by Abhijit Jana in Debugging, Visual Studio 2010.
Tags: codeproject, Debugging, IntelliTrace, Visual Studio 2010 SP 1 Beta
Visual Studio 2010 Service Pack 1 Beta having some great enhancement for IntelliTrace debugging. One of the most important features is debugging 64bit application with IntelliTrace and also debug SharePoint projects using IntelliTrace. Apart from the above enhancement, there are some changes in saving of .iTrace Log files as well. Earlier, by default, IntelliTrace saves IntelliTrace log files (.iTrace files) to Trace debugging storage location and there was no option to enabled or disabled the log generation. But now, You can change the storage behavior of IntelliTrace log files, or you can manually save IntelliTrace log files from IntelliTrace Window. Here I am describing the procedures.
Debugging 64 bit application using IntelliTrace – Visual Studio 2010 Service Pack 1 Beta December 13, 2010Posted by Abhijit Jana in Debugging, Visual Studio 2010.
Tags: 64 bit Application Debugging with IntelliTrace, codeproject, Debugging, IntelliTrace
IntelliTrace is an new features of Visual Studio 2010 Ultimate Edition. By default IntelliTrace is enabled . During debugging in Visual Studio, IntelliTrace works in the background and collect debugging information automatically and stored them in IntelliTrace Log File (. iTrace File ) . You can use the log file at any point of time to see what happened exactly at background during your live debugging. One of most draw back of IntelliTrace was to support only 32bit Application. So, If you have are running your application in a 64bit Application, you have to debug your application in 32 bit mode to deal with IntelliTrace. If you are trying to debug an 64 bit application using IntelliTrace you will get below message in IntelliTrace Window.
Does IntelliTrace support all the .NET Frameworks ? December 8, 2010Posted by Abhijit Jana in Debugging, Visual Studio 2010.
Tags: codeproject, Debugging, IntelliTrace, Visual Studio 2010
I have been asked this question many times and also found many people have some confusion around different supported version of .NET framework by IntelliTrace debugging. As IntelliTrace is new features of Visual Studio 2010 Ultimate edition and VS 2010 came up with .NET 4.0, so many may got confused that IntelliTrace only support debugging of .NET 4.0 features. But NO. IntelliTrace is available for .NET Framework 2.0 , 3.0, 3.5 and 4.0 . So, if you are creating any application (like Window, Console, ASP.NET) with any framework from Visual studio 2010 you can use IntelliTrace Debugging. Even if, you have an earlier application which is based on .NET 3.5 or lesser and you are running it from VS 2010 Ultimate edition, you can enjoy the IntelliTrace features. For an ASP.NET Application based on the targeted Framework version .iTrace log will be different. Generally for ASP.NET Application IntelliTrace log file name start with the name of the process which is handling the current request.
Tags: Breakpoint, BreakPoint at Funcation, codeproject, Debugging, Find Combo Box, How To, Tips and Tricks, Visual Studio
Visual Studio having great features to set breakpoint in multiple functions at same time. For most of the time, to set a breakpoint with in a function you just put a breakpoint in the first line of the function. Now, assume you have 10 different overloaded methods or you have same function in different project, and you want to put breakpoint all of them or few of them, then it will take time to put breakpoint in each and every function. In this post I am going to share two quick tips by which you can set breakpoint to function very easily. first one is by using “Break at Function” and second one by “Using Find Combo Box”.
How to use out of scope object with in Conditional Breakpoint ? December 2, 2010Posted by Abhijit Jana in Debugging, Tips and Tricks, Visual Studio.
Tags: Debugging, How To, Out of Scope Object Debugging, Tips and Tricks
1 comment so far
During debugging of your application, you may need to keep track of some data which are already out of scope. Say, You call a MethodB() from MethodA() and did some operation inside MethodB(), now when you returned back to MethodA(), all the local variables inside MethodB() are out of scope. But you want to use them in MethodA(). Now here is the trick, that you can create an ObjectID for an member variables or objects and can track the same when it’s out of scope as well, but until GC() does not collect it. In this post, I am going to explore how we can use an Out of Scope object value to deal with Conditional Break points. To start with, first you have to understand how to use Object ID to track and out of scope object. Here is my complete article How to track an object which is Out of Scope while Debugging ? . Though I described a quick look into use of out of scope object inside conditional breakpoints on that article, I received few query about more details on the same. So here I am going to give some more details.