Does anybody know how to throw an exception during debugging. I could have sworn in older intelliJ or maybe eclipse I would simply evaluate 'throw new BlahException();'. However in IntelliJ 9.0.1 it simply says this is not supported in code fragment mode and does not allow it in expression mode.
If this is not possible is there a plugin available. This is useful for emulating a problem without coding it in, then recompiling/redeploying.