How to get rid from annoying IE warning when you debug a Silverlight application

When you try to open a local file, Internet Explorer displays the following warning: "To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer.Click here for options…".

ie-warning

You may run blocked file (application) by right click on the warning bar ,but doing this every time is very annoying. Especially when you debug Silverlight applications.  To disable the warning go to Tools->Internet Options and in opened dialog choose “Advanced”,then  check the fallowing option “Allow active content to run in files in My Computer*” as shown in the screenshot below.Then press “OK” and restart the browser .

 internet-options-disable

Note: This trick can be useful when you open local XML or JS file

An alternative to WinDbg – Debug Analyzer.Net

WinDbg is a tool that allows you to analyze in detail any program problem, especially when the VS2008 is not available or can not be used. Despite the fact that it has existed for many years, the use of WinDbg can not be called simple and intuitive. So let me present a very interesting alternative.Debug Analyzer.NET is a debugging tool to analyze memory dumps using plug-ins written in .NET framework

Features

  • Analysis Reporting – Create .NET based Plug-in to run analysis against a well defined Object Model to generate html reports
  • Instant Analyzer  – Write your analysis code in Code Editor and hit F5 to compile and execute your analysis so that you can see the results instantly.
  • Interactive Debugging – Ability to easily write Analysis commands just like Windbg but in .NET.
  • Visualizers – Write Plug-in to present the data as graphs, datagrid .
  • Helpers – Plug-in GUI which provides a way to write your own utility for other popular tools.

 

DebugAnalyzer.Net

You need to install .NET Framework 4.0 Client Profile

Supported Versions of CLR

  • .NET 2.0 (and 3.x) memory dumps.
  • Support for .NET 4.0 and Silverlight coming soon.

Download Debug Analyzer.Net

SlimTune – an open source profiling and performance analysis tool for .NET applications

SlimTune is a open source profiler and performance tuning tool for .NET based applications, written in C#, VB.NET. It provides nice set of powerful features, such as remote profiling, real time results, multiple plugin-based visualizations. The source code of SlimTune is available under the terms of the MIT License.The tool is nice free alternative to an commercial profiler.

Features

  • Live Profiling – reports results while your code still running
  • Remote Profiling – perform profiling proccess from a different computer
  • SQL Database Storage – all results stored in SQL database
  • Multiple Visualizations – different ways to present profiling results
  •  Plugin Support – write your own visualization plugin
slimtune-1 slimtune-2
slimtune-3 slimtune-4

Download SlimTune profiling tool