Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

Quickly seeing where an exception may land in the debugger

A co-worker asked me recently how he could predict where an exception that was about to be thrown would land while debugging a managed application.  The real answer to this question is “you can’t – step into the throw and see”.  The EH system
Posted by rmbyers | 0 Comments
Filed under: ,

My school assignment required parsing PDB files

I'm just finishing up my Masters in Computer Science, and was surprised when I recently got an assignment that involved parsing PDB files. Over the years I've been involved in many discussions about why the Microsoft PDB format isn't public. John Robbins
Posted by rmbyers | 3 Comments
Filed under:

New interviews with my CLR team members up on Channel9

There are a bunch of great new CLR v4-related video interviews up on Channel9. In particular: Jon, Thomas and Dave from my team (CLR diagnostics) discuss the advancements in debugging and profiling APIs in v4 Simon and I discuss in-process SxS (ability
Posted by rmbyers | 0 Comments
Filed under:

AnyCPU Exes are usually more trouble than they're worth

Over the past few months I've had some interesting debates with folks here (and some customers) about the cost/benefit trade-off of "AnyCPU" (architecture-neutral) managed EXEs. I think we've converged on a consensus that most of the time they're not
Posted by rmbyers | 6 Comments
Filed under: ,

CCI is public on Codeplex

Herman Venter has just released his Common Compiler Infrastructure as an OpenSource project on Codeplex . CCI is a GREAT set of libraries for building, analyzing, and modifying .NET assemblies and PDB files - written entirely in C#. Several Microsoft
Posted by rmbyers | 1 Comments

Getting good dumps when an exception is thrown

Often, when an unexpected exception occurs in production code, applications want to generate (and potentially report) some sort of diagnostics information.  Sometimes people just want to write to a log file (and perhaps pop some error dialog) for
Posted by rmbyers | 4 Comments
Filed under: ,

CLR 4.0 advancements in diagnostics

We announced at PDC today that we're making some significant advances in diagnostics tool support for CLR v4! In particular, we've been investing heavily in improving our support for production diagnostics scenarios over the past couple years. I'm excited
Posted by rmbyers | 16 Comments
Filed under: , ,

ICorDebug re-architecture in CLR 4.0

In my previous post I mentioned that CLR 4.0 will support managed dump debugging through ICorDebug, and that to do this we had to re-architect the debugging support in the CLR. I want to give you a little more detail about what we've been doing here.
Posted by rmbyers | 4 Comments
Filed under:

Func-eval can fail while stopped in a non-optimized managed method that pushes more than 256 argument bytes

In this blog entry , Mike describes that func-eval will fail when not a GC-safe point. In VS this results in the error "Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code
Posted by rmbyers | 1 Comments
Filed under: ,

Invoking a virtual method non-virtually

Method calls using the C# ‘ base ’ keyword get compiled to an IL ‘ call ’ instruction, rather than the ‘ callvirt ’ that is normally used . This is the one case in C# where a virtual method can be invoked without virtual dispatch. The CLR allows it to
Posted by rmbyers | 3 Comments
Filed under: ,

The CLR is hiring

This is just a quick reminder that we're always looking for talented people who are passionate about programming languages, platforms and tools. We're working on a bunch of exciting things to make .NET programming more productive and enjoyable, and there
Posted by rmbyers | 0 Comments

How is good software like good science?

I'm not one who believes mainstream large-scale software development really deserves the title of "computer science " (or "software engineering " for that matter). However, I have been thinking lately that there is an interesting analogy between good
Posted by rmbyers | 1 Comments

Customizing PDB lookup for source information in StackTrace

The System.Diagnostics.StackTrace class in .NET can be used to generate a textual representation of the current callstack. This is used, for example, by Exception.ToString() . If requested by the caller, StackTrace can include source file locations (file
Posted by rmbyers | 1 Comments
Filed under: ,

Code Sample - StackTrace with manual Symbol lookup

// Sample to demonstrate creating a stack trace with source location information while controlling // how PDB files are located. // Written by Rick Byers - http://blogs.msdn.com/rmbyers // 6/21/2007 - Initial version using System; using System.Collections.Generic;
Posted by rmbyers | 1 Comments
Filed under:

Using LINQ for Computational Genomics

I’ve been playing around a bit lately with computational genomics (I’m doing a project for my parallel computation class). I wanted to write some simple algorithms that operate on potentially large amounts of DNA data without using a ton of RAM. For example,
Posted by rmbyers | 2 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker