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
Tags: ASP.Net, C#, dailydotnettips, Tips & Tricks, Visual Studio
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 June 2011.
Tags: .NET, ASP.Net, C#, MVC, Tips & Tricks, Visual Studio
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 May 2011.
Enable Scroll Override in Visual Studio May 30, 2011Posted by Abhijit Jana in Visual Studio.
Tags: scroll, Scrolling in Visual Studio, Tips & Tricks, Visual Studio, Visual Studio IDE
add a comment
While using Scrolling in Visual Studio IDE, by default it scroll amount is fixed by number of lines. During normal development, when we scroll with in code editor, the scroll amount by fixed line number is fine. But if you zoom out the editor code, scrolling wont be useful as though we have changed the code editor zooming, still scrolling is available with fixed line number. To overcome this, you can use “Enable Scroll Override” features.
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.
Use shortcut key to generate GUID very quickly in Visual Studio January 18, 2011Posted by Abhijit Jana in Tips and Tricks, Visual Studio.
Tags: guid, macro, Tips and Tricks, Visual Studio
One of the common tasks involved in the development is GUID’s generation. This is even more frequent when we are working on a SharePoint solutions. Even during writing unit test we need to generate static GUID to validate data’s. Visual Studio comes with a tool called guidgen.exe ( c:\program files (x86)\microsoft sdks\windows\v7.0a\bin\NETFX 4.0 Tools\guidgen.exe ) which is registered with visual studio as an external tool and invoked from Tools > Create GUID. But whenever you need an unique static GUID you have to navigate to tool and copy the ID evertime. Last few days of my development involved with lots of GUID generation where I found it’s taking time to generate so many guid’s. So, I came up with an small approach where we can generate a GUID by just pressing some shortcut key. Behind the seen I wrote a macro for the same and that is being triggered with the key press.
Tags: codeproject, Customize Exception Assistant, Exception Handling, Tips, Visual Studio
In this blog post, I am going to share a quite interesting tips, where you can customize the “Exception Assistant” in visual studio. I have explained how we can use this features for an custom exception class, where we want to provides custom or additional help information . As an example, I have shown how we can set some favorite blogs urls in troubleshooting tips section.
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.
Add document header for files automatically in Visual Studio December 5, 2010Posted by Abhijit Jana in Tips and Tricks, Visual Studio.
Tags: How To, Tips and Tricks, Visual Studio
In this blog post I am going to share how you can add a document header of xml comments with code file automatically. This is going to be an very interesting and helpful for all of you who are using styleCop to maintain coding standard. Actually extensive using of StyleCop helped me to think to make it automate. There are many tools available which can helps us in this case to do this automatically. But I always prefer let’s Visual studio do the job for me. Here I am going to share with you two different approaches to deal with this issue. Now it’s up to you which one to use.
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”.
Tags: Beginners, codeproject, Tips and Tricks, Visual Studio
“Open Containing Folder” is one of the frequent used functionality to open a particular file location in windows explore from Visual Studio IDE . How did we do that ? Yes it’s very simple, Just right click on file from files Tab and select “Open Containing Folder” from the context menu as shown in below.
This will open the selected item location in windows explorer. This operation by default having no keyboard shortcut. But do you know we can assign keyboard shortcut for the same or even we can customize the context menu in code editor to achieve the same as shown in below images.
Multipurpose Find Combo Box in Visual Studio November 1, 2010Posted by Abhijit Jana in Tips and Tricks, Visual Studio.
Tags: Beginners, codeproject, Find Combo Box, Tips and Tricks, Visual Studio
Most of the time we use Visual Studio find combo box ( ) only for search contents with in the solution. But the find combo box is something more than what we know. We can use the find combo box in different purpose like create file, open files, create project, print, open watch windows etc. As for example you can close all the open files by just typing “>CloseAll” with in find combo box followed by a “Enter”. Fundamentally we can execute all the commands from Find Combo box which are available from Visual Studio Command Window. Like Command Window, In Combo Box, if you type “>” and aliases and press enter result will be the same.
Tags: codeproject, Debugging, Tips and Tricks, Visual Studio
Watch windows is one of most commonly used debugging tool with Visual Studio. We generally used to explore the objects, values, properties and other nested objects as a tree structure. Most of the time we used watch window to only view the values or change the current object properties values to see the effects of changed object during debugging. But we can use watch windows for many different purposes. In this blog post I am going to show 10 Tips, that may help you while dealing with Watch Window.
How to track an object which is Out of Scope while Debugging ? October 20, 2010Posted by Abhijit Jana in Debugging, Tips and Tricks, Visual Studio.
Tags: C#, codeproject, Debugging, How To, Tips and Tricks, Visual Studio
In Mastering in Visual Studio 2010 Debugging article I have discussed about the basic of Object ID creation while debugging. I received some request from some readers to explain the use of “Make Object ID” in details. In this blog post I am going explain how we can track an Object which is already out of scope using by creating a Object ID while debugging.
By using “Make Object ID” option we are informing Visual Studio Debugger to keep track of that object no matter it’s within scope or out of scope for the current context. We can create “Object ID” either from Locals, Autos or from Watch Windows. Object ID is a integer number followed by a pound (#) sign. When we create Object ID for an particular object, Visual Studio Debugger ( CLR Debugging Services ) use an integer value to uniquely identify the object. This “Object ID” allows you to get the object details even if it is out of scope.