Added functionality to retreive a stacktrace of the call to addOutputRead() or addInputWrite() for the relevent failure