Menu

#10 Crashing exception

v0.2.13
open
None
5
2015-06-17
2015-06-15
jed spraul
No

This was all I could pull up debugging with Visual Studio afterward to get the exception details:

System.ArgumentException was unhandled
HResult=-2147024809
Message=Value does not fall within the expected range.
Source=mscorlib
StackTrace:
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Dile.Debug.ModuleWrapper.GetFunction(UInt32 token)
at Dile.UI.Debug.BreakpointHandler.SetInitialBreakpoints(ModuleWrapper module)
at Dile.Debug.DebugEventHandler.LoadModule(DebugEventObjects eventObjects)
at Dile.Debug.ManagedEventHandler.LoadModule(ManagedEventHandler , ICorDebugAppDomain pAppDomain, ICorDebugModule* pModule)
InnerException:

Discussion

  • Petrény Zsolt

    Petrény Zsolt - 2015-06-17

    Hi Jed,

    Thanks for the bug report. :)

    Can you provide a bit more detail though? Can you reproduce this exception? If yes, then could you please share the steps that lead to it?

    Regards,
    Zsolt Petreny

     
  • jed spraul

    jed spraul - 2015-06-17

    Unfortunately I can not reliably reproduce the issue, or reduce the steps needed. I think it boils down to the UI accepting input / keystrokes when it shouldn't, causing a race condition related to breakpoints.

    It only happens when I've set a breakpoint. (I would otherwise throw + catch a random exception to get DILE to stop.) I think it never happened the very first time I ran a program... only the second or third time.

    I was hoping this would be enough for you to include an exception handler in that particular method so that you could record additional details should anyone run into this in the future (rather than a complete hard crash of the application).

    Thanks for your work on this application.

     

    Last edit: jed spraul 2015-06-17

Log in to post a comment.