Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Debugging   (RSS)

CLR Security Team CodePlex Site

The CLR Security Team just launched our CodePlex site: http://www.codeplex.com/clrsecurity .  Currently, it contains two assemblies that provide additional functionality to the security APIs shipped in v3.5 of the .NET Framework. We'd love your feedback
Posted by shawnfa | 0 Comments

FxCop Transparency Rules

The FxCop team has just announced the availability of RC 1 of FxCop 1.35 . Notable in this release is the introduction of the first three rules around security transparency . Namely, you'll see: SecurityTransparentAssembliesShouldNotContainSecurityCriticalCode
Posted by shawnfa | 1 Comments
Filed under: , ,

Debugging a Partial Trust ClickOnce Application

Although the theory is that by the time we deploy a finished application it's already fully debugged we all know that in practice things rarely go that smoothly. So what happens if you deploy a partial trust ClickOnce application that starts to crash
Posted by shawnfa | 3 Comments
Filed under: ,

Debugging ADMHost

A few people have noticed that the ADMHost sample is not set up to do mixed mode debugging by default. If you're working with this sample and you'd like to debug through both halves of the host, you'll need to enable this mode. Right click on the ADMHost
Posted by shawnfa | 0 Comments
Filed under:

Finding the Source Code for an Assembly

Sometimes, especially when working on large projects (such as, I don't know, say ... the CLR), you find yourself debugging a problem where you don't know where a component is built from. Depending on the problem, it might be useful to get to the sources
Posted by shawnfa | 2 Comments
Filed under:

Debugging Lightweight CodeGen in VS

Haibo just posted about his debugger visualizer for dynamic methods . This is a pretty sweet piece of code for anyone who uses lightweight code generation and needs to debug the code they've emitted. Basically it adds a visualizer to DynamicMethod objects
Posted by shawnfa | 0 Comments
Filed under: ,

IronPython + MDbg = good times

Mike Stall recently completed a project to embed IronPython into the MDbg debugger as an MDbg extension. IronPython's hosting interface is pretty slick, in fact it took Mike only 10 steps to get IronPython running inside MDbg and expose the debugger functionality
Posted by shawnfa | 3 Comments
Filed under:

Viewing IL at Debug Time

Last week, I mentioned Yiru’s post on using SOS to see the IL of a dynamically generated method. Yiru’s post is about lightweight code gen, but the technique she shows is useful for more general purpose managed debugging . Let’s work
Posted by shawnfa | 5 Comments
Filed under:

Yiru on Debugging LCG

Yiru's got a great piece up on using SOS to debug code that was emitted using Whidbey's new Lightweight CodeGen feature. Debugging any code written at the IL level can be tricky for anyone who doesn't have Partition III of ECMA committed to mind. LCG
Posted by shawnfa | 2 Comments
Filed under:

Whidbey's Security Off Model

Although the v1.0 and v1.1 versions of CasPol provided a switch to disable the CLR's security system, running without CAS enforcement on was never a scenario that we encouraged for obvious reasons. The choice to disable security was a system wide switch
Posted by shawnfa | 17 Comments

Mike Stall on Finding the Real Exception Call stack

Mike's got an interesting piece up today about using WinDbg to find the actual call stack of an unmanaged (or managed for that matter) exception . It's this kind of power debugging technique that makes WinDbg my all time favorite debugger.
Posted by shawnfa | 1 Comments
Filed under:

Mike Stall's (Relatively)New Debugger Blog

Mike Stall is one of the devs on our base services team, and his focus is on managed debugging. I played football with Mike 4 flag football seasons back, but generally don't need to work directly with him since the debugger and security don't have very
Posted by shawnfa | 1 Comments

Finding Out The Current User in the Debugger

Every once in a while, while debugging multi-threaded applications that do impersonation, it becomes useful to figure out the context that the current thread is running under. This is especially useful when debugging server scenarios where connections
Posted by shawnfa | 2 Comments

Whidbey's New SecurityException

One of the more difficult things to debug with .NET 1.0 and 1.1 is the security exception. With these frameworks generally the only information that you got was the state of the failed permission. Due to the complexity of debugging security problems,

What Happens When My Application Throws An Unhandled Exception

There are several different behaviors that can occur when a managed application throws an unhandled exception. The two most common are to bring up an error dialog box, or to pop up the Visual Studio Just In Time Debugger dialog box. The first behavior
More Posts Next page »
 
Page view tracker