Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Debugging   (RSS)

Debugging managed code.. from a newb for managed code debugging

Debugging managed code in WinDbg has never been my idea of fun. I wasn’t forcibly exposed to it enough I guess. For example, if you look at http://blogs.msdn.com/spatdsg/archive/2009/02/23/there-and-back-again-the-life-of-a-bug-and-fix.aspx there is like
Posted by SpatDSG | 0 Comments
Filed under:

Logging for MUI language packs

Quick post.. If you are having errors when installing the MUI language packs on Win7\Server 2008 R2 - the logs are located in the users profile appdata path: C:\Users\Administrator\AppData\Local\Temp\lpksetup folder Here is a snip of a log for an example:\
Posted by SpatDSG | 0 Comments
Filed under:

How to enable WPP tracing for a component at boot time?

Been away for a while , busy with lotsa interesting online services projects ( my "new" group ) . I'll see if I can blog about any of those interesting tidbits.. in the meantime. WPP tracing is all over the place in Win7 – a quick count of registered
Posted by SpatDSG | 0 Comments
Filed under:

There and back again.. the journey of a bug in ADFS

Let's look at a bug fix.. end to end. So back in November, my friend Jim Simonet had posted a question about a problem with ADFS using ADAM as the auth store and specifying that it connect via LDAP over SSL. He could connect to ADAM via LDP on 636, so

James saved me many hours of pain..

Gotta love the internet. The Tubes. I was trying to install\reinstall IIS in Windows Server 2008 and it would not install. Web Server (IIS) Error: Attempt to install IIS Management Console failed with error code 0x80070643. Fatal error during installation
Posted by SpatDSG | 2 Comments
Filed under:

Create a Dump file with pagefile on non boot partition..

The general advice in Windows is to place the paging file on the boot partition in order to get a crash dump file. Here is a snip from an older KB "... However, if you remove the paging file from the boot partition, Windows cannot create a dump file (Memory.dmp)
Posted by SpatDSG | 3 Comments
Filed under:

High CPU utilization.. revisited

Some of this post overlaps my previous CPU one , but the other one seemed a bit lopsided towards LSASS so I thought I would do another one which wasn't.. Below is a perfmon log where the machine is 80-90 cpu utilized. The first thing to determine is if
Posted by SpatDSG | 3 Comments
Filed under:

Dr Watson knows best..

I recently worked on a case which involved a crash ( it was the MMC ) which didn’t have a lot of info attached to it. There was no crash dump file, and no live debug to go on. All that I had was a Dr Watson log. Who’s that you say? See here for some history
Posted by SpatDSG | 3 Comments
Filed under:

Debugging services..

How to debug Windows services covers the main points – but I think a common issue is debugging why a service won’t start. When the service is failing on start – you can’t simply start it and then quickly attach the debugger – you need to have the debugger
Posted by SpatDSG | 1 Comments
Filed under:

The Conch Shell...and how DFS uses it.

Ahh yes.. the conch shell . I run into weird problems all the time.. this was on of those weird problems. The high level statement was this: "Clients in remote sites are accessing mapped drives via explorer and the UI hangs for 10-15 minutes, they lose
Posted by SpatDSG | 0 Comments
Filed under: ,

Get a hotfix -- without having to call MS...

In this new age of the internet... You now can obtain a hotfix without having to interact with a single soul ( no phone calls etc.. ) Easy and convenient. Take for example my previous post for the netlogon DCR - 928576 which doesnt even have a public
Posted by SpatDSG | 13 Comments
Filed under:

Breakpoints 200

Before I got distracted with cred roaming and new netlogon goodness… we were talking about breakpoints. We discussed basic commands and then saw some uses for the command string parameter. [ ~ Thread ] bp [ ID ] [ Options ] [ Address [ Passes ]] [ " CommandString
Posted by SpatDSG | 0 Comments
Filed under:

Breakpoints 101

So I thought I would do something about breakpoints.. something basic and build it up to something useful. I use notepad for all the tests and the symbols path is: 0:002> .sympath Symbol search path is: http://msdl.microsoft.com/download/symbols The
Posted by SpatDSG | 0 Comments
Filed under:

New Auditing in Vista

Something that is not well known in Vista….this ain't your typical auditing. There is a HUGE amount of auditing that we added to the OS for system auditing. Let’s dig in and look at just one of them that previous OS’s never even came close to providing
Posted by SpatDSG | 1 Comments
Filed under: ,

A few of my favorite things...debug commands

Well. not really, I mean - not in the big picture right? Else that would be a sad existence indeed... talk about whacked priorities. I thought I would post a few debugger commands I like to use… some new to me, some oldies. But, there are times I suppose
Posted by SpatDSG | 2 Comments
Filed under:
More Posts Next page »
 
Page view tracker