Throw New VirtualMachine();
secretGeek .:dot Nuts about dot Net:.
home .: about .: sign up .: sitemap .: secretGeek RSS

Throw New VirtualMachine();

Today's crazy idea.

For serious exception handling:

throw new VirtualMachine();

...immediately spins up a new virtual machine, identical to the currently running machine, only with a debugger attached and paused on a breakpoint at the currently active line of code which caused the exception.

The development/operations team are notified and given a url with which to connect to the new virtual machine. A bug is lodged in your support system.

Meanwhile, execution continues essentially 'uninterrupted' in the original machine.





'Ananda Sim' on Tue, 20 May 2008 11:34:40 GMT, sez:

Way to go. Can we pass the type of VirtualMachine as a parameter?



'Rik Hemsley' on Tue, 20 May 2008 11:34:43 GMT, sez:

"A bug is lodged in your support system."

Ah I wondered what was digging into my pelvis. Thanks.



'Bill Pierce' on Tue, 20 May 2008 12:15:38 GMT, sez:

You omitted the following line:

throw new PhysicalMachineOutTheWindow();



'Ed Poore' on Tue, 20 May 2008 12:19:49 GMT, sez:

While not exactly what you want you know that VMWare allows you to run applications when you debug under VS2005? Must have Professional edition though.



'Doekman' on Tue, 20 May 2008 13:38:18 GMT, sez:

Any serious problems with TimeSnapper perhaps?

;-)



'John' on Tue, 20 May 2008 16:32:19 GMT, sez:

How about:

defenestrate(this);



'Joseph Cooney' on Thu, 22 May 2008 02:20:57 GMT, sez:

Not sure what you mean Ed re: "VMWare allows you to run applications when you debug under VS2005" - but you can remotely launch processes on remote machines (even virtual ones) and debug them under VS 2005/2008. What specific scenario does VMware cover that is not already in the box?



'Physical to Virtual' on Thu, 22 May 2008 03:34:51 GMT, sez:

p2v -- that's what you're after.



'Stathis Sideris' on Sat, 24 May 2008 14:05:56 GMT, sez:

Intereseting idea, lisp already does this: http://gigamonkeys.com/book/beyond-exception-handling-conditions-and-restarts.html




name


website (optional)


enter the word:
 

comment (HTML not allowed)


All viewpoints welcome. But the right to delete any post for any reason is reserved. Don't make me do it. Comments may be republished, emailed to your loved ones or printed and used as toilet paper. Who reads this legal bit anyhow?

TimeSnapper is a life analysis system that stores and plays-back your computer use. It makes timesheet recording a breeze, helps you recover lost work and shows you how to sharpen your act.

TimeSnapper won last year's Developer Competition at Larkware.com, and is used by over 10,000 people.

Articles

Is the remote control a thing of the past? Is the remote control a thing of the past?
The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7. The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7.
Astounding Hyperlinked Noticeboard Astounding Hyperlinked Noticeboard
Three Questions About Each Bug You Find Three Questions About Each Bug You Find
Recursing over the Pareto Principle... Recursing over the Pareto Principle...
Sometimes, The Better You Program, The Worse You Communicate. Sometimes, The Better You Program, The Worse You Communicate.

Archives .: secretGeek :: Complete Archives
TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.3: true productivity boost

Next Action NextAction
Managing the top of your mind

World's Simplest Code Generator (html edition) World's Simplest Code Generator
25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Top 10 SecretGeek articles Top 10 SecretGeek articles
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker


[powered by Google] 


How to be depressed How to be depressed
You are not inadequate.



Recommended Reading

The Best Software Writing I
The Business Of Software (Eric Sink)

Recommended blogs

Jeff Atwood
Reginald Braithwaite
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
OJ Reeves
Eric Sink
Joel Spolsky
Des Traynor

Aggregated Links

programming.reddit.com
dzone
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
n links today
new and notable
morning coffee
learning .net
weekly link post
(my del.icio.us account)

LinkedIn profile
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2006 .: privacy

home .: about .: sign up .: sitemap .: RSS .: © Leon Bambrick 2006 .: privacy