Tag Archive : Visual Studio

Visual Studio Debug Problem with IE8

1
Digg me

Thanks to  : Abdulla AbdelHaq
Source : http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx
 
How VS debugger could be crashed with IE8?
If you opened multiple instances of IE8 and you attempt to debug your project, you mostly will have the issue where VS debugger just stops and ignores your break points!
Why was that?
Well, IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes. 
http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie
Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process. 
To overcome this issue, you need to disable the process growth feature of LCIE by follow the below steps:
1)  Open RegEdit
2)  Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3)  Add a dword under this key called TabProcGrowth
4)  Set TabProcGrowth to 0
 If you run into the same problem on Vista or newer, you will also need to turn off protected mode.
And then go a head and start debugging your code.

skmmenu 2.3 for Framework 2.0 (now works on Firefox & IE8)

14
Digg me

Eventhough Visual Studio 2005 has Menu control, I feel skmMenu is still flexible and useful.

I feel skmMenu is better than Menu control in following ways..
- Image / MouseOver image handling is very easy.

- Roles are easy to assign.

- No complicated styles.

- No need to complicate Web.config settings.

- Dynamic XML Menu generation is straight forward.

 

Click here to for updated post on skmMenu 2.3

Disable .xml file generation when building Asp.Net application

0
Digg me

Visual Studio 2005 – Compile Options

.XML files are used to create Documentation.

If you need to disable them, then

Project Properties > Compile and Uncheck Generate XML Documentation file option.

Disable .pdb file generation in Release Mode

0
Digg me

Visual Studio 2005 – Compile Options

In Visual Studio 2005, .pdb file gets generated in Debug mode and Release mode.

In debug mode it loads the entire symbol table, in Release mode it loads the key symbols.

In Release mode, the generated .pdb can be deleted very well deleted. (Because framework does not uses it)

To disable .pdb generation in Release mode, goto

Project Properties > Compile Tab > Advanced Compile Options

Goto Generate Debug Info (dropdown list) and select None.