This change is to prevent an exception from being thrown and then immediately caught within the TryGetDebugInformation method.
Its possible that in certain circumstances, a stack frame originates from a module that only exists in memory. In this situation, the name of the module will not be a locaiton on disk so loading that module from disk will fail. This causes the PEReader to be null.
This change is to prevent an exception from being thrown and then immediately caught within the
TryGetDebugInformation
method. Its possible that in certain circumstances, a stack frame originates from a module that only exists in memory. In this situation, the name of the module will not be a locaiton on disk so loading that module from disk will fail. This causes thePEReader
to be null.