Click here to Skip to main content
15,867,851 members
Articles / Programming Languages / C#
Tip/Trick

How to Debug Silverlight Applications on 64 Bit Windows when IE 11 is installed

Rate me:
Please Sign up or sign in to vote.
4.33/5 (2 votes)
7 Jan 2015CPOL 11.2K   3  
Debugging Silverlight applications on 64 bit Windows and Internet Explorer 11

Introduction

Did you ever come across this error message when trying to debug a Silverlight application with Internet Explorer 11 on a 64 bit OS like Windows 7 x64?

Image 1

Maybe this tip can help you.

Background

The reason for this lies in a registry setting called TabProcGrowth.

TabProcGrowth = 0:
Tabs run in the same process as the manager process.
On 64 bit Windows, all tabs are running as 64 bit.
This is what Visual Studio is complaining about.

TabProcGrowth = 1:
Tabs run in a different process.

Using the Code

In order to allow debugging, you must set the following registry key to 1:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\TabProcGrowth

If this value does not exist, you must create it yourself. Make sure it is a DWORD (32-bit value).

Don't forget to restart your Internet Explorer.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --