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

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

Visual Studio Exceptions dialogs

The Moth, May 2, 2012
Views: 208 | Hits 28

Previously I covered step 1 of live debugging with start and attach. Once the debugger is attached, you want to go to step 2 of live debugging, which is to break. One way to break under the debugger ...

Start Debugging in Visual Studio

The Moth, March 16, 2012
Views: 533 | Hits 55

Every developer is familiar with hitting F5 and debugging their application, which starts their app with the Visual Studio debugger attached from the start (instead of attaching later). This is one wa...

Debugging JavaScript with Chrome

K. Scott Allen, March 15, 2012
Views: 349 | Hits 36

The Chrome Developer Tools are a bit quirky, but for script debugging I currently like them the best. Here is a quick brain dump on some areas of interest (these are all in the stable build 17.0.963.7...

Live Debugging

The Moth, March 14, 2012
Views: 430 | Hits 32

Based on my classification of diagnostics, you should know what live debugging is NOT about - at least according to me :-) and in this post I'll share how I think of live debugging. These are the (ou...

"Re: I have a question about proving code correctness"

Frans Boumas blog, January 20, 2012
Views: 295 | Hits 22

Recently I received an email with the following contents: I recently started working at a startup. I'm learning lots of cool stuff, including unit testing, but as a math major something kinda nagg...

Best of "The Moth" 2011

The Moth, December 31, 2011
Views: 289 | Hits 9

Once again (like in 2004, 2005, 2006, 2007, 2008, 2009, 2010) the time has come to wish you a Happy New Year and to share my favorite posts from the year we just left behind. 1. My first blog entr...

Roslyn Syntax Visualizer Tools

Marquee de Sells: Chriss insight outlet, December 4, 2011
Views: 362 | Hits 17

As I do more with Roslyn, I find I want more information about what Im parsing and how its represented in the Roslyn object model. I could, of course, have built myself a little OM dumper for Roslyn, ...

Beginner Guide to Page and Script Debugging with Chrome

The Code Project Latest Articles, October 24, 2011
Views: 840 | Hits 35

A beginner introduction to the features of the Chrome Debugger....

GPU Debugging with VS 11

The Moth, September 21, 2011
Views: 519 | Hits 15

With VS 11 Developer Preview we have invested tremendously in parallel debugging for both CPU (managed and native) and GPU debugging. I'll be doing a whole bunch of blog posts on those topics, and in ...

Debugger Canvas on DevLabs

Somasegars WebLog, June 14, 2011
Views: 424 | Hits 18

Today, we’re releasing Debugger Canvas on DevLabs. Debugger Canvas is a new user experience for stepping through code in the debugger in Visual Studio Ultimate. It displays the code of each of t...

How to programmatically launch Debugger in a remote machine

C# Frequently Asked Questions, March 28, 2011
Views: 861 | Hits 59

This blog post explains how to kick off a debugger in a remote machine, programmatically. We are going to use WMI interfaces to achieve this. Use WMI, to start the debuggee process and attach a regist...

Writing Windows Debugger - Part 2

The Code Project Latest Articles, December 26, 2010
Views: 1,184 | Hits 16

Let's enhance our Debugger!...

Anatomy of a serialization killer

Simple Talk, December 19, 2010
Views: 496 | Hits 16

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: 705 | Hits 22

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: 984 | Hits 82

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: 524 | Hits 8

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: 1,268 | Hits 52

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: 743 | Hits 8

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: 766 | Hits 62

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

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,047 | Hits 25

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,013 | Hits 14

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: 2,221 | Hits 34

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: 803 | Hits 26

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: 1,951 | Hits 80

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: 1,567 | Hits 45

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: 1,284 | Hits 25

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: 1,494 | Hits 84

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: 1,351 | Hits 43

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: 3,167 | Hits 39

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: 1,469 | Hits 18

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: 2,588 | Hits 21

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: 1,805 | Hits 55

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: 2,799 | Hits 169

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: 2,430 | Hits 76

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,560 | Hits 18

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

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: 2,151 | Hits 47

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: 1,463 | Hits 258

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,272 | Hits 18

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: 391 | Hits 1

Intellisense debugger fails computation on inheritance...

The breakpoint will not currently be hit

Guy Barrettes WebLog, October 8, 2008
Views: 5,458 | Hits 549

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: 1,506 | Hits 25

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,234 | Hits 29

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: 3,746 | Hits 36

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,297 | Hits 59

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,113 | Hits 30

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,265 | Hits 37

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,087 | Hits 260

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: 1,599 | Hits 52

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