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

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

Slides and code for MPI Cluster Debugger

The Moth, March 2, 2010
Views: 6 | Hits

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 there, is here).There have been ...

Slides and code for MPI Cluster Debugger

The Moth, March 2, 2010
Views: 3 | Hits

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 there, is here).There have been ...

Slides and code for MPI Cluster Debugger

The Moth, March 2, 2010
Views: 103 | Hits 2

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...

MPI Cluster Debugger launch integration in VS2010

The Moth, November 15, 2009
Views: 6 | Hits

HPC bits installed and that you have existing MPI code (or you created a "Hello World" project using the MPI project template). Of course, you create a single MPI application and at runtime it will ...

MPI Cluster Debugger launch integration in VS2010

The Moth, November 15, 2009
Views: 5 | Hits

HPC bits installed and that you have existing MPI code (or you created a "Hello World" project using the MPI project template). Of course, you create a single MPI application and at runtime it will ...

Parallel Debugging

The Moth, November 12, 2009
Views: 254 | Hits 17

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...

Core debugger enhancements in VS2010

The Moth, November 10, 2009
Views: 5 | Hits

video of new VS2010 debugger features that I encourage you to watch to find out about enhancements with DataTips, breakpoints, dump debugging (inc. IL interpreter) and Threads window.The raw list of f...

Core debugger enhancements in VS2010

The Moth, November 10, 2009
Views: 7 | Hits

video of new VS2010 debugger features that I encourage you to watch to find out about enhancements with DataTips, breakpoints, dump debugging (inc. IL interpreter) and Threads window.The raw list of f...

Slides for Parallel Debugging windows

The Moth, November 8, 2009
Views: 4 | Hits

Beta1 deck to Beta2 content. Specifically for Parallel Tasks and Parallel Stacks, I used 5 slides to accompany the demo.In case you are giving talks on parallelism within Visual Studio 2010, please fe...

Slides for Parallel Debugging windows

The Moth, November 8, 2009
Views: 6 | Hits

Beta1 deck to Beta2 content. Specifically for Parallel Tasks and Parallel Stacks, I used 5 slides to accompany the demo.In case you are giving talks on parallelism within Visual Studio 2010, please fe...

MPI Project Template for VS2010

The Moth, November 7, 2009
Views: 6 | Hits

1. In Solution Explorer, right-click YourProjectName, then click Properties to open the Property Pages dialog box.2. Expand Configuration Properties and then under VC++ Directories place the cursor at...

MPI Project Template for VS2010

The Moth, November 7, 2009
Views: 5 | Hits

1. In Solution Explorer, right-click YourProjectName, then click Properties to open the Property Pages dialog box.2. Expand Configuration Properties and then under VC++ Directories place the cursor at...

Slides for Parallel Debugging windows

The Moth, November 7, 2009
Views: 275 | Hits 7

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: 382 | Hits 7

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: 202 | Hits 18

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: 541 | Hits 21

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

JohnPapa.net, September 17, 2009
Views: 431 | Hits 27

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: 408 | Hits 19

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: 764 | Hits 35

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: 732 | Hits 38

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: 1,527 | Hits 22

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: 858 | Hits 13

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: 1,353 | Hits 15

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: 836 | Hits 44

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: 1,298 | Hits 124

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: 950 | Hits 58

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"

kbAlertz.com :: Visual Studio 2005, November 26, 2008
Views: 1,037 | Hits 14

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: 498 | Hits 10

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...

Debugging Parallel Applications with VS2010

The Moth, November 19, 2008
Views: 618 | Hits 28

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...

Mocking and stubbing easier than ever with Moq 2.6

eXtensible mind, November 19, 2008
Views: 1,143 | Hits 44

I've just released a new version of Moq which contains a few bug fixes but two extremely useful features: recursive mocks and mocked default values. Recursive mocks Quite often you have a root mock ob...

Where was the stubbing part in Moq?

eXtensible mind, November 19, 2008
Views: 894 | Hits 22

In my very recent previous post I said ""mocking and stubbing easier than ever"", but actually forgot to mention the stubbing part :S. This one is not new for users of moq-contrib, but we decided ...

Automocking container with Moq

eXtensible mind, November 19, 2008
Views: 988 | Hits 73

I realized that I never blogged about this cool feature contributed by Slava to Moq-Contrib. Auto-mocking containers was an idea originally (IIRC) from the guys at Eleutian, later on picked up by Jere...

Debugging Parallel Applications with VS2010

The Moth, November 19, 2008
Views: 818 | Hits 18

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: 828 | Hits 29

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: 735 | Hits 19

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: 560 | Hits 10

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 ...

Isolator feature focus Advanced Debugger Support for fakes

ISerializable, October 11, 2008
Views: 767 | Hits 13

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 ...

The breakpoint will not currently be hit

Guy Barrettes WebLog, October 8, 2008
Views: 2,792 | Hits 382

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: 818 | Hits 21

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: 772 | Hits 25

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: 976 | Hits 30

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: 820 | Hits 35

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: 719 | Hits 25

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: 830 | Hits 34

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: 1,065 | Hits 71

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: 959 | Hits 44

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: 903 | Hits 41

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: 744 | Hits 17

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: 1,303 | Hits 91

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: 677 | Hits 16

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...

Product Spotlight