News in the Category: Debugger Subscribe to the rss of this category.

Total posts: 148 | Sort by Views | Sort by Hits

Anatomy of a serialization killer

Simple Talk, December 19, 2010
Views: 1,469 | Hits 30

As I had mentioned last month, I have been working on a project to create an easy-to-use managed debugger. It's still an internal tool that we use at Red Gate as part of product support to analyze app...

ExpandoObject Explained In Tests (Except For One Mystery)

K. Scott Allen, November 8, 2010
Views: 1,852 | Hits 40

The following tests all pass for .NET 4.0s ExpandoObject. private dynamic expando = new ExpandoObject(); [Test] public void Can_Add_A_Member() { var expected = "Scott"; expand...

Debugging Tips with Visual Studio 2010

ScottGus Blog, August 19, 2010
Views: 2,249 | Hits 93

This is the twenty-sixth in a series of blog posts Im doing on the VS 2010 and .NET 4 release. Todays blog post covers some useful debugging tips that you can use with Visual Studio.  My fr...

Debugging Multi-threaded Applications: Some Tidbits

Rico Marianis Performance Tidbits, June 4, 2010
Views: 1,518 | Hits 18

I was lamenting that we haven't really done terribly much to make multi-threaded debugging easier in say the last decade and I was fortunate enough to be able to have a conversation with Brain Crawfor...

VS 2010 Debugger Improvements (BreakPoints, DataTips, Import/Export)

ScottGus Blog, April 21, 2010
Views: 2,200 | Hits 62

This is the twenty-first in a series of blog posts Im doing on the VS 2010 and .NET 4 release.  Todays blog post covers a few of the nice usability improvements coming with the VS 2010 debugge...

Microsoft Windows HPC Server R2 Beta2

The Moth, April 12, 2010
Views: 1,577 | Hits 20

Internally and unofficially we refer to this as "HPC Server v3" and its Beta2 became available last week. Read the full story on this blog post from Ryan and this one from Don. There has be...

Investigating .NET Memory Management and Garbage Collection

Simple Talk, March 24, 2010
Views: 1,961 | Hits 76

Investigating a subtle memory leak can be tricky business, but things are made easier by using The .NET framework's tool SOS (Son of Strike) which is a debugger extension for debugging managed code, ...

Slides and code for MPI Cluster Debugger

The Moth, March 2, 2010
Views: 1,521 | Hits 21

I've blogged before about the MPI Cluster Debugger in VS2010 that facilitates launching the application on the cluster and attaching the debugger (btw, a shorter version of the screencast I link to th...

Parallel Debugging

The Moth, November 12, 2009
Views: 1,914 | Hits 33

Using Visual Studio 2010 parallel debugging is easy. Two new debugging windows provide a total view of the internals of your PPL and TPL applications with hints on where to start investigations. These...

Slides for Parallel Debugging windows

The Moth, November 7, 2009
Views: 1,918 | Hits 39

Recently I gave a talk at our Microsoft Shanghai offices on Parallel Programming so I had to update my existing Beta1 deck to Beta2 content. Specifically for Parallel Tasks and Parallel Stacks, I used...

MPI Project Template for VS2010

The Moth, November 6, 2009
Views: 4,152 | Hits 60

If you are developing MS MPI applications with Visual Studio 2010, you are probably tired of following some tedious steps for every new C++ project that you create, similar to the following:1. In Solu...

.Net Debugging? Dont give me none of your VS

Simple Talk, October 14, 2009
Views: 1,868 | Hits 78

Visual Studio is fine for most debugging purposes. Just occasionally, it isn't practicable, or there are other quicker ways of doing it with a user-mode debugger. Edward argues that debugging in MSIL...

Debugger Visualizers not working in ASP.NET Medium Trust

Rick Strahls WebLog, September 24, 2009
Views: 3,710 | Hits 90

So imagine you are running your ASP.NET applications in medium trust and you want to access a debugger visualizer like this: by clicking on the little search icon in the debugger tooltip, you run...

Tell the Debugger to Ignore Silverlight Validation Exceptions, September 17, 2009
Views: 2,588 | Hits 56

I recently wrote an article that demonstrates how to use the DataForm and validate data entry in Silverlight using the DataAnnotations. One of the pet peeves I have with the validation is that it thro...

VS Debugging - Why did VS stop breaking on Exceptions?

Julia Lerman Blog - Dont Be Iffy..., July 3, 2009
Views: 3,501 | Hits 49

I can't believe I put up with this problem for so long. It was an easy solution, just not an obvious one. Read more...  ...

Internet Explorer Global Variable Blow ups

Rick Strahls WebLog, March 22, 2009
Views: 2,346 | Hits 94

I ran into an odd behavior/bug with Internet Explorer today that I hadnt noticed before in relation to global variable assignments. Check out the following code that fails for me in IE 8 both in compa...

Framework Design Guidelines: Overriding Object.ToString()

Brad Abrams, February 3, 2009
Views: 2,224 | Hits 52

Continuing in our weekly blog post series that highlights a few of the new additions to the Framework Design Guidelines 2nd edition.. This content is found in the Object.ToString section of Chapter 8:...

Debugging Dependency Properties in WPF: Part 3

Clarity Blogs: ASP.NET, January 26, 2009
Views: 5,531 | Hits 62

In my last couple posts, I've highlighted a way to inject debugging into dependency properties updated via data binding. It seems to work fine, but it's not clear how to apply it in certain sc...

Debugging Dependency Properties in WPF: Addendum

Clarity Blogs: ASP.NET, January 23, 2009
Views: 2,307 | Hits 33

This is going to be a pretty brief post. I just wanted to mention a small addition to the data binding debugging solution I posted about last time. When we left off, we had a pretty decent solution to...

Debugging Dependency Properties in WPF with Property Changed Callbacks (or: How I Learned to Stop Worrying and Love printf Debugging)

Clarity Blogs: ASP.NET, January 18, 2009
Views: 5,321 | Hits 27

WPF is a great technology. It's changed the way we write rich desktop apps for Windows. But after using it for an appreciable length of time (eight or nine months), I've come to two conclusion...

Troubleshooting a Spooler Crash

Brian Desmonds Blog, January 5, 2009
Views: 3,473 | Hits 86

I ran into an interesting issue this evening where the Spooler service on a customer's print server was crashing constantly immediately after logging an event about unpublishing a specific printer. Si...

System.Diagnostics.Process: avoid deadlocks in RedirectStandardInput/Output (Lucian Wischik)

The Visual Basic Team, December 30, 2008
Views: 4,156 | Hits 181

It's common that you want to launch an external process but supply input and capture the output. Here's one attempt:  ' BAD CODE Using p As New System.Diagnostics.Process  &nb...

Did you know? You can unwind the call stack from exceptions (Bill Horst)

The Visual Basic Team, December 9, 2008
Views: 4,495 | Hits 89

The ability to unwind the call stack from exceptions is one of the debugger features that was newly introduced in Visual Basic.NET 2005. When the debugger hits a first-chance exception, you can unwind...

FIX: Error message when you build a project in Visual Studio 2005 SP1 after an .lib file or an .obj file that was built by using Microsoft Visual C++ 2008 is added to the project: "Fatal error LNK1103: debugging information corrupt" :: Visual Studio 2005, November 26, 2008
Views: 2,111 | Hits 27

949009 ... FIX: Error message when you build a project in Visual Studio 2005 SP1 after an .lib file or an .obj file that was built by using Microsoft Visual C++ 2008 is added to the project: "Fatal e...

Debugging Parallel Applications with VS2010

The Moth, November 19, 2008
Views: 2,287 | Hits 32

I have mentioned previously on this blog the two new debugger toolwindows our team is adding to Visual Studio 2010: Parallel Tasks and Parallel Stacks. I will be blogging a lot more about these, so fo...

Using Assert.AreSame

Karl Seguin [MVP], November 4, 2008
Views: 4,220 | Hits 66

Just as an aside, Part 2 of my jQuery article is up. I think this is something most people know, but wanted to throw it out there just in case. There are subtleties that should be understood when usi...

Range Errors Not Just In Software

Steven Smith, October 23, 2008
Views: 2,145 | Hits 262

A common area to test in software are ranges of values and off-by-one errors.  But this problem certainly isn't limited to programmer code.  I just wrapped up a survey by TNS for customer sa...

Isolator feature focus Advanced Debugger Support for fakes

ISerializable, October 11, 2008
Views: 1,816 | Hits 22

Two features that Typemock Isolator has make the debugging experience with it very different than any other isolation framework: 1) Highlight fake method during debugging   When stepping ...

Visual Studio 2008 SP1 (C#) IDE bug

The Code Project Latest Articles, October 9, 2008
Views: 1,056 | Hits 6

Intellisense debugger fails computation on inheritance...

The breakpoint will not currently be hit

Guy Barrettes WebLog, October 8, 2008
Views: 7,201 | Hits 632

I was hit with the dreadful "The breakpoint will not currently be hit" problem this week.  Searching the Web, looks like it is a common problem both with VS 2005 and 2008 however, it was the fi...

Parallel Tasks window

The Moth, October 1, 2008
Views: 2,229 | Hits 29

Previously I asked about properties of Tasks that you'd like to see when debugging and suggested some: [...]which ones are not scheduled yet [...], which ones are Running and which ones have run a bit...

Parallel Stacks for multi-threaded debugging

The Moth, September 27, 2008
Views: 1,843 | Hits 34

My previous post (on active stack frame and current thread) ended by raising an issue, a solution to which I propose below.Consider the following screenshot of code (inc. snippet from Threads window) ...

Active and Current (Stack Frame and Thread)

The Moth, September 22, 2008
Views: 5,201 | Hits 42

Each thread has a call stack (a list of stack frames, each representing a method call and the relevant state). When you break in the debugger, you can see it in the Call Stack window for the current t...

Not all AnonymousMethods are the same

The Moth, September 15, 2008
Views: 1,999 | Hits 65

Whilst debugging code that uses multiple anonymous methods (or lambdas) from a single method combined with multiple Threads, an interesting issue surfaces with the stack frames that Visual Studio 2008...

What are the interesting properties of Tasks at runtime?

The Moth, September 8, 2008
Views: 1,719 | Hits 33

The second question (B) of the quiz I posted here was meant to make you think about the complications of adding a Task reference to the Watch window. I then went on to show how to use Tack.Current and...

Use the DebuggerDisplayAttribute for your types

The Moth, September 1, 2008
Views: 1,839 | Hits 39

Using the Make Object ID feature we were able to turn this screenshot into that screenshot.Building on the Task.Current approach, I wanted to avoid having to expand the variable and instead wanted to ...

Accessing a SafeArray Result from a COM Call in C#?

Rick Strahls WebLog, August 26, 2008
Views: 2,947 | Hits 344

It's just not my day I suppose. Maybe not my week is more like it really. Nothing wants to go right. Anyway, here's an interesting problem that I've never seen before. I'm calling a COM object from m...

Make Object ID

The Moth, August 26, 2008
Views: 2,322 | Hits 54

I only learnt about this featurette very recently (from a reader's comment) and immediately found a use for it read on.If you tried to debug the code from this exercise (still no correct answers to t...

How to diagnose Linq to SQL easily and production-ready

eXtensible mind, August 22, 2008
Views: 1,946 | Hits 129

Here's what we're currently doing: we add an InitializeContext method to all DataContext-derived classes, which is called from all ctors: private void InitializeContext() { #if DEBUG if...

Hard and Soft Mode Debugging or The Woes of Soft Mode

Rico Marianis Performance Tidbits, August 22, 2008
Views: 1,614 | Hits 36

I had to explain this a little while ago and I wrote up something that I thought was generally interesting.   This is only approximately correct (even the examples are a flawed) but I think ...

Visual Studio 2008 Tip : Multiple startup projects

Cirrus Minor, August 20, 2008
Views: 3,326 | Hits 112

I was demonstrating a POC I wrote to one of my colleagues and I showed him one of the integration demo where I have a two console application - a producer and a consumer who communicate by WCF. He w...

Man eats crow, film at eleven

Simple Talk, August 12, 2008
Views: 1,383 | Hits 18

When good software goes bad, the right axe to wield at it is usually a debugger. Anyone who has used a debugger will probably tell you that this is a last resort, though, unless they are masochists wh...

MSDTC Exits on PDCe Transfer

Brian Desmonds Blog, August 6, 2008
Views: 1,828 | Hits 10

One of my colleagues reported an issue at a customer this past weekend where every time he transferred FSMO roles, MOM would report that the MS DTC (distribution transaction coordinator) service had t...

Deadlock detectors

ISerializable, August 2, 2008
Views: 1,875 | Hits 40

This is a pretty interesting approach to a deadlock detector: It uses sos  (son of strike debugger) and automates it under the covers and parses its output to discover runtime deadlocks on proces...

Two cool debugger tips that I learnt today

The Moth, July 29, 2008
Views: 1,707 | Hits 79

Tip #1 datatips on commentsOne of the coolest debugger features introduced in VS2005 was DataTips (grey editable, navigable tooltips on steroids that also become transparent when you hold down the Ct...

WPF: The Static Nature of Dependency Properties

the telerik blogs, July 25, 2008
Views: 7,404 | Hits 93

With dependency properties being so heavily used across the WPF platform, there is a good chance that sooner or later you will get bitten by this issue my colleague Hristo Deshev and I were debugging ...

Internet Explorer 8 Expert Chat Zone Resume

Ajax.NET Professional, July 17, 2008
Views: 1,828 | Hits 38

Internet Explorer 8 is in beta and we're able to improve features that we need. Last week I sent a short message to the Microsoft DPE here in Germany with some comments what I like more in Firefox 3 t...

Url Routing Debugger

youve been HAACKED, March 14, 2008
Views: 2,528 | Hits 51

In Scott Hanselmans talk at Mix, he demonstrated a simple little route tester I quickly put together. This utility displays the route data pulled from the request of the current request in the add...

Sensible Debugging in IE 8

Rick Strahls WebLog, March 6, 2008
Views: 2,659 | Hits 420

One thing that caught my attention in the IE 8 notes and that eventually made me download and install it is that it will feature the Developer Toolbar which has been an add-in for previous IE versions...

Typemock Isolator 4.2 Beta released with cool new features (Previously Typemock.NET)

ISerializable, February 4, 2008
Views: 1,549 | Hits 34

We just released the beta of Typemock Isolator 4.2 beta (Previously just named Typemock.NET). You can get it here. Some of the cool new things: Mocked methods will be highlighted in the debugger ...