Anyone know how to tell in a debugger extension if one is looking at a dump or a live system?

I’m trying to write a windbg extension that can take saved processor state
information in a dump and set the current context to that saved state – I’d
really like to disable this when debugging a live system as it tends to lead
to nasty crashes :wink:

So - using the new style interface, is there a way of determining whether a
dump or a live system is being debugged?

Thanks
Simon Graham

PS: I’m using 6.1.0017.2