Forum  General Visual ...  How do I...?  Script Block
Previous Previous
 
Next Next
New Post 7/5/2011 5:22 PM
  dbranger
92 posts
No Ranking


Script Block 

Its seems as I work inVS2010 with VWG I get a build up of files called "Script Block" under Script Documents. My system get slower and slower in trying to quit from the debugger. Anyone know how I can pevent this?

Thanks

 
New Post 7/5/2011 6:03 PM
  palli
11824 posts
1st Level Poster




Re: Script Block 

Hi Dave,

Please take a look at the Troubleshooting section here. It has a link that provides you with info and Visual Studio / IE workarounds.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 7/7/2011 8:30 AM
  dbranger
92 posts
No Ranking


Re: Script Block 

Thanks Palli

The first solution of switching "on" for Silverlight debugging in Properites/Web did the job

 
New Post 7/7/2011 2:41 PM
  palli
11824 posts
1st Level Poster




Re: Script Block 

Hi Dave,

You are welcome and glad it helped.

FYI, I need the extra script debug info from time to time while I'm testing my applications, so I keep two BAT files handy for each version of Visual Studio (VS2008 and VS2010) and turn this debug info on and off as required. It's a simple registry change, and on Win7 64bit, these are the commands I use:

  • VS2008 turn debug ON: C:\windows\syswow64\cmd.exe /k "reg add HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\AD7Metrics\Engine\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {170EC3FC-4E80-40AB-A85A-55900C7C70DE} /f"
  • VS2008 turn debug OFF: C:\windows\syswow64\cmd.exe /k "reg add HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\AD7Metrics\Engine\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {4FF9DEF4-8922-4D02-9379-3FFA64D1D639} /f"
  • VS2010 turn debug ON: C:\windows\syswow64\cmd.exe /k "reg add HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\AD7Metrics\Engine\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {170EC3FC-4E80-40AB-A85A-55900C7C70DE} /f"
  • VS2010 turn debug OFF: C:\windows\syswow64\cmd.exe /k "reg add HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\AD7Metrics\Engine\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {4FF9DEF4-8922-4D02-9379-3FFA64D1D639} /f"

You will need to run each command as an administrator, and you will have to close down VS and open again for it to be effective.

Be warned, those are registry changes, so please make sure the command lines appear on this post as they should, with no vital characters removed, by comparing with the articles I referenced before.... should you decide to use them.

For me, they do their job perfectly and as they should.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 2/1/2012 10:38 AM
  dbranger
92 posts
No Ranking


Re: Script Block 

Regarding this thread

I found my problem, click the "Disable all breakpoints" once in a while. I was finding that it would take about 30 seconds for VS to stop execution and return me to the souce code. I once again tyied the above changes with no sucess and finally started a google search and Walla a simple solution.

So Disable all breakpoints once in a while must clear out a breakpoint stack

It works great!!!! 

 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  Script Block
Azure banner
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS