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

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

Build Failed With No Errors

K. Scott Allen, July 6, 2006
Views: 7,742 | Hits 762

MSBuild does a good job of reporting build errors, but MSBuild can only report errors that the underlying Tasks report. Custom tasks add a lot of variation to quality of the error messages. Case in po...

WPF: The Static Nature of Dependency Properties

the telerik blogs, July 25, 2008
Views: 7,304 | 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 ...

The breakpoint will not currently be hit

Guy Barrettes WebLog, October 8, 2008
Views: 7,181 | 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...

Powershell: Attach Debugger To ASP.NET Worker Process By Name

K. Scott Allen, August 17, 2006
Views: 6,198 | Hits 301

For those who don't like the "Attach To Process" dialog box, just pass the application pool name to this Powershell function: function debug-wp([string]$name){  if([String]::IsNullOrEmpt...

Detecting ASP.NET Debug mode

Rick Strahls WebLog, January 20, 2007
Views: 6,011 | Hits 233

Ah the beauty of a big framework <s>. I was doing some work on an internal GZip compression handler and one thing I needed to know is whether the application is running in Debug mode. Its easy t...

The Binding Handle is Invalid in VS 2005 Resolved

Colt Kwongs Blog, November 16, 2005
Views: 5,617 | Hits 239

I tried to run one of my WinForm 2.0 solution in my home machine tonight, but a confusing error message displayed when I pressed the F5 button: "Unable to attach debugger. The binding handle is ...

Debugging Dependency Properties in WPF: Part 3

Clarity Blogs: ASP.NET, January 26, 2009
Views: 5,498 | 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 with Property Changed Callbacks (or: How I Learned to Stop Worrying and Love printf Debugging)

Clarity Blogs: ASP.NET, January 18, 2009
Views: 5,273 | 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...

Always Set Stop On Exception While Doing Debugging in Visual Studio 2005 or 2008

peterkellner.net, August 10, 2007
Views: 5,206 | Hits 904

This article discusses a best practices method for automatically having the debugger stop on unhandled exceptions in visual studio 2005 or 2008...

Active and Current (Stack Frame and Thread)

The Moth, September 22, 2008
Views: 5,190 | Hits 41

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

Debugging FireFox Cookies

Rick Strahls WebLog, January 28, 2007
Views: 5,188 | Hits 257

Heres a fun one for FireFox regarding cookies. I was running through some test scenarios of my West Wind Web Store and while running in FireFox I noticed that I was unable to log on to my store profil...

Debug proxies for custom collections to aide debugging in Visual Studio

Granville Barnett, September 6, 2007
Views: 4,708 | Hits 44

I stumbled across this while working on a small project (Data Structures and Algorithms (DSA)).  Creating a proxy for a type, or whatever really - in my case a collection is really simple and pro...

Writing Windows Debugger - Part 2

The Code Project Latest Articles, December 26, 2010
Views: 4,665 | Hits 32

Let's enhance our Debugger!...

SvcTraceViewer.exe - Learn It, Know it, Love It

dasBlonde, July 27, 2006
Views: 4,520 | Hits 229

There's a nice little diagnostic tool that ships with the SDK for .NET 3.0 - svctraceviewer.exe. You WILL need this tool. It is a great way to inspect messages when things are going ...

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

The Visual Basic Team, December 9, 2008
Views: 4,468 | 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...

Beginner Guide to Page and Script Debugging with Chrome

The Code Project Latest Articles, October 24, 2011
Views: 4,210 | Hits 51

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

Using Assert.AreSame

Karl Seguin [MVP], November 4, 2008
Views: 4,198 | 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...

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

The Visual Basic Team, December 30, 2008
Views: 4,135 | 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...

MPI Project Template for VS2010

The Moth, November 6, 2009
Views: 4,120 | 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...

Visual Studio 2013 'Could not evaluate Expression' Debugger Abnormality

Rick Strahls WebLog, November 21, 2013
Views: 4,102 | Hits 60

Last week I ran into a really strange problem with an older WebForms application on Visual Studio 2013.  I was trying to debug my application on a breakpoint and when I hit the break point, none ...

Visual Studio Script Debugger and Microsoft Script Debugger Mixup

Rick Strahls WebLog, September 14, 2006
Views: 3,913 | Hits 304

Over the last couple of days I’ve been working on client side stuff and have been experimenting with a few different tools for editing and debugging JavaScript. Somewhere in there I installed th...

Tracing with Log4Net and the Context Singleton Design Pattern

The Code Project Latest Articles, August 12, 2006
Views: 3,818 | Hits 302

This article describes techniques than enable ASP.Net trace style performance information to be outputted to any appender using log4net. In building this utility class, we also delve into a design pat...

Debugger Visualizers not working in ASP.NET Medium Trust

Rick Strahls WebLog, September 24, 2009
Views: 3,686 | 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...

Tips for writing Debugger Visualizers in VS.NET 2005

Frans Boumas blog, February 6, 2006
Views: 3,670 | Hits 305

VS.NET 2005 comes with a new feature, called Debugger Visualizers. A debugger visualizer is a small piece of code which visualizes the object currently hovered by the mouse in a debug session, of cou...

Object Test Bench

Vault of Thoughts, December 7, 2006
Views: 3,578 | Hits 251

In my recent article on Immediate Window, I have showed how you can use it to debug your application, but also how to run arbitrary code. Working with Immediate Window has one major...

VS Debugging - Why did VS stop breaking on Exceptions?

Julia Lerman Blog - Dont Be Iffy..., July 3, 2009
Views: 3,494 | 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...  ...

NHook - A .NET debugger API

The Code Project Latest Articles, November 30, 2012
Views: 3,440 | Hits 57

Debugger API, explore and modify running program easily...

Troubleshooting a Spooler Crash

Brian Desmonds Blog, January 5, 2009
Views: 3,434 | 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...

Javascript debuggers

E-Surfers Weblog, August 1, 2006
Views: 3,395 | Hits 82

Along with the development of AJAX, it is necessary to get a handy javascript debugger. The following Javascript debuggers can make our life easier. 1. Venkman JavaScript Debugger - for Firefox It pro...

Visual Studio 2008 Tip : Multiple startup projects

Cirrus Minor, August 20, 2008
Views: 3,312 | Hits 111

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

Bug Finder, a real Win32 extensible passive debugger

The Code Project Latest Articles, June 7, 2013
Views: 3,299 | Hits 27

Win32 extensible passive debugger...

FIX: VS7 Debugger Error

dotNet, February 24, 2004
Views: 3,286 | Hits 167

I thought I'd post a solution to a debug issue I had today. I've had it before, and now I'll be able to google my blog for the solution. When trying to debug a WinForms app, VS reports “The debu...

NHook - A .NET debugger API for x86

The Code Project Latest Articles, December 2, 2012
Views: 3,233 | Hits 35

Debugger API, explore and modify running program easily...

How to develop and debug ASP.NET custom controls in Visual Web Developer Express

Jotekes Blog, July 27, 2006
Views: 2,999 | Hits 147

As usual, I am always late commenting other people's posts but Mikhail Arkhipov made recently a good post about developing custom controls with Visual Web Developer Express so I thought to mentio...

Review: New Developer Tools in Internet Explorer 11

Jason N. Gaylords Blog, November 8, 2013
Views: 2,988 | Hits 24

Windows 8.1 has been out for a few weeks now. Along with Windows 8.1, Internet Explorer 11 was released. IE11 offers the best web standard support of any Internet Explorer browser. This means that the...

Why You Need to Use System.Diagnostics.Debug More Than You Do

ASPAlliance.com - The #1 ASP.NET Community, July 19, 2007
Views: 2,974 | Hits 238

This article provides an overview of seven methods of System.Diagnostics.Debug which can improve the maintainability of your code....

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

Rick Strahls WebLog, August 26, 2008
Views: 2,929 | 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...

Is Debug Mode Evil?

Peter Brombergs UnBlog, January 26, 2007
Views: 2,877 | Hits 261

One of the difficulties in working with .NET, especially ASP.NET, is being able to determine whether an assembly has been compiled in Debug Mode or Release Mode, and especially whether an application ...

Easy Fix to a Common Angular Module Error

JohnPapa.net, May 27, 2014
Views: 2,799 | Hits 89

I love running my code right after making some new changes, so I can see them light up in the browser. But I don’t love when error messages are not straight forward. At least not to me. Recently...

If it takes forever to start your app with the debugger, check for thrown exceptions - level 300

Jeffrey Palermo, August 17, 2006
Views: 2,674 | Hits 208

Overview of ExceptionsThere are quite of a few things that are just laws of Object-Oriented development, and one of those is that exceptions should be avoided.  If you can prevent an exception&nb...

Sensible Debugging in IE 8

Rick Strahls WebLog, March 6, 2008
Views: 2,649 | Hits 419

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

Debugger Visualizer for MethodInfo, DynamicMethod, and MethodBase available for download

ISerializable, April 25, 2006
Views: 2,609 | Hits 195

this nice DynamicMethod visualizer posted as a code sample. Download Just the binaries (38k) Download Binaries and source (358k)   Sample shots: Get the IL byte stream from an...

Tell the Debugger to Ignore Silverlight Validation Exceptions

JohnPapa.net, September 17, 2009
Views: 2,579 | Hits 55

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

DebuggerTypeProxy Proxy Class is Compiled into Release Build

Don Kielys Technical Blatherings, November 16, 2007
Views: 2,538 | Hits 51

I recently did a session about debugging ASP.NET applications at the Victoria .NET Developers Association in Victorial, B.C. It was a fun meeting, and as an Alaskan from Fairbanks I always feel a spec...

Url Routing Debugger

youve been HAACKED, March 14, 2008
Views: 2,511 | 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...

On error messages

mikes web log, July 7, 2006
Views: 2,488 | Hits 63

The ever-interesting Eric Lippert has a thoughtful post on how to create good error messages. His particular focus is on the error messages generated by a compiler, but there's very little in there, s...

Change The Display Of A Type In The Debugger

youve been HAACKED, October 4, 2006
Views: 2,479 | Hits 248

Keyvan Nayyeri has a great tip for how to control the display of atypein the various debuggerwindows using a DebuggerTypeProxyattribute. His post includes screenshots with this in use. This is an attr...

John Robbins' New .NET Debugging Book is Out!

Don Kielys Technical Blatherings, December 16, 2006
Views: 2,459 | Hits 46

Well, it's about time! John Robbins of Wintellect is the debugging alpha geek, and the new edition of his seminal Windows debugging book is finally out: Debugging Microsoft .NET 2.0 Applications. This...

Simpler Debugger with DebuggerTypeProxy

Keyvan Nayyeri, October 4, 2006
Views: 2,421 | Hits 125

By default Visual Studio nests object properties in Watch Window and shows them in a hierarchy manner.  For more complex objects you need to traverse through your properties to find whatever you ...