Sign in
Mike Stall's .NET Debugging Blog
Notes on Managed Debugging, ICorDebug, and random .NET stuff
Blog - Link List
Other Blogs
Tim's .NET blog
Energy Policy
CLR blogs
Rick Byers (CLR)
List of all CLR blogs
David Broman (Profiling)
Thomas Lai's blog
Other links
All about MDbg
What's new in v2.0?
Who am I?
ICorDebug/MDbg Forums
Contact me?
ASP.Net
ScottGu's blog
Henrik's blog
Brad Wilon's blog
Carlos Figueira's blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Compilers & Languages
Design
dlr
Edit-And-Continue (EnC)
Family
feedback
FuncEval
ICorDebug
Interop (mixed-mode)
linkfest
MDbg
Non-work
Pages
Quiz
Random
random .net
reading
Sample Code
Silverlight
This should be in MSDN
Troubleshooting
versioning
WebAPI
Whidbey (V2.0)
Windows Live
Archive
Archives
August 2012
(2)
May 2012
(3)
April 2012
(5)
March 2012
(2)
November 2011
(1)
September 2011
(1)
December 2010
(1)
September 2009
(2)
July 2009
(1)
May 2009
(1)
February 2009
(1)
November 2008
(1)
June 2008
(1)
May 2008
(2)
April 2008
(3)
March 2008
(5)
February 2008
(2)
January 2008
(10)
December 2007
(7)
November 2007
(5)
October 2007
(16)
September 2007
(8)
August 2007
(12)
July 2007
(9)
June 2007
(5)
May 2007
(7)
April 2007
(4)
March 2007
(6)
February 2007
(5)
January 2007
(11)
December 2006
(9)
November 2006
(13)
October 2006
(9)
September 2006
(10)
August 2006
(6)
July 2006
(13)
June 2006
(10)
May 2006
(3)
April 2006
(4)
March 2006
(31)
February 2006
(16)
January 2006
(18)
December 2005
(11)
November 2005
(23)
October 2005
(12)
September 2005
(22)
August 2005
(31)
July 2005
(10)
June 2005
(7)
May 2005
(4)
April 2005
(5)
March 2005
(9)
February 2005
(16)
January 2005
(6)
December 2004
(3)
November 2004
(4)
October 2004
(14)
September 2004
(2)
FuncEval
MSDN Blogs
>
Mike Stall's .NET Debugging Blog
>
FuncEval
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Mike Stall's .NET Debugging Blog
Virtual code execution via IL interpretation
Posted
over 4 years ago
by
Mike Stall - MSFT
8
Comments
As Soma announced, we just shipped VS2010 Beta1 . This includes dump debugging support for managed code and a very cool bonus feature tucked in there that I’ll blog about today. Dump-debugging (aka post-mortem debugging) is very useful and a long-requested...
Mike Stall's .NET Debugging Blog
Func-eval abort is evil
Posted
over 6 years ago
by
Mike Stall - MSFT
6
Comments
Func-eval is evil . Func-eval abort is even worse. For those coming in late, Func-eval is when the debugger hijacks a thread and has it evaluate some function such as a property-getter or to-string. Func-eval abort is when that evaluation hangs, and then...
Mike Stall's .NET Debugging Blog
Resolving functions and func-eval syntax
Posted
over 7 years ago
by
Mike Stall - MSFT
0
Comments
I got a question about MDbg's func-eval syntax, which brings up a nice point about function resolution: Is it possible to evaluate a function by specifying an instance variable instead of the fully qualified name of the class? f ex.get_StackTrace...
Mike Stall's .NET Debugging Blog
Debugger won't properly evaluate C#s base keyword
Posted
over 7 years ago
by
Mike Stall - MSFT
9
Comments
Public Service Announcement: You may have noticed that trying to evaluate members using C#'s 'base' keyword in the debugger still calls the derived members. (The 'base' keyword lets you access base class member implementations from within a derived class...
Mike Stall's .NET Debugging Blog
"Correct" may depend on your point of view
Posted
over 7 years ago
by
Mike Stall - MSFT
0
Comments
Correctness from the debugger's perspective is very different than correctness from the end-user's perspective. For example, the debugger exposes many invasive operations like SetIp. The debugger considers the operation successful if it sets the IP to...
Mike Stall's .NET Debugging Blog
What does a debugger author need to do to support func-eval?
Posted
over 7 years ago
by
Mike Stall - MSFT
6
Comments
I've mentioned func-eval (aka property eval) is evil for end-users; but it's also evil if you want to write a debugger that uses func-eval. For example, let's say you're writing your own managed debugger and you have a watch window, and you want to...
Mike Stall's .NET Debugging Blog
What to do with a feature that only works 90% of the time?
Posted
over 7 years ago
by
Mike Stall - MSFT
1
Comments
Imagine when you're designing a feature if there was an operation that was very useful 90% of the time; but the other 10% of the time it was provably and innately unsafe (either crashed, deadlocked, or gave back garbage). By "innately unsafe", I mean...
Mike Stall's .NET Debugging Blog
Evil trick to render UI when stopped at a breakpoint.
Posted
over 8 years ago
by
Mike Stall - MSFT
2
Comments
Here's an EVIL trick to render your UI in a winforms app when you're stopped at a breakpoint. When managed-debugging, when you hit a breakpoint, all the managed threads stop . With a winforms app, the UI thread is managed and so it stops too. However...
Mike Stall's .NET Debugging Blog
Blog Category for Func-eval
Posted
over 8 years ago
by
Mike Stall - MSFT
6
Comments
I created a blog category for Func-eval (aka Property Evaluation), and I updated some of my old posts to be in this category. And while I'm at it, some other func-eval blog entries: GreggM on Func-eval and Winforms SteveJS on Nested Break States (stopping...
Mike Stall's .NET Debugging Blog
Rules of Funceval
Posted
over 8 years ago
by
Mike Stall - MSFT
8
Comments
Funceval (aka "Function Evaluation" or "Property Evaluation") is the ability to inject some arbitrary call while the debuggee is stopped somewhere. A debugger commonly uses funceval to run ToString() and property getters. I want to describe when it is...
Mike Stall's .NET Debugging Blog
Using Funceval to Inject code into another app
Posted
over 8 years ago
by
Mike Stall - MSFT
5
Comments
It's possible for a managed debugger to attach to an app and inject arbitrary stub code into the app, without any prior cooperation from the app. The more technical description is that while the debuggee is stopped, the debugger can load an arbitrary...
Mike Stall's .NET Debugging Blog
Func-eval is evil
Posted
over 8 years ago
by
Mike Stall - MSFT
12
Comments
Function evaluation (aka “Func-eval”, “property evaluation”, “prop eval”) is the ability for a debugger to have the debuggee call a random function when stopped at a breakpoint. For eg, this lets you call functions from VS’s immediate window. Func...
Page 1 of 1 (12 items)