first chance exception of type 'System.InvalidProgramException'

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pixel.to.life

    first chance exception of type 'System.InvalidProgramException'

    Gurus,

    Another question on one of the coveted Microsoft products: JIT
    debugger with VS2005.


    I have a managed app that builds great on one machine (Vista Home
    basic, VS2005, JIT enabled for managed/unmanaged code). I can also
    debug it on this machine with breakpoints and all.


    Now I move the same code on another machine (XP Pro, VS2005, JIT
    enabled for both managed/unmanaged code). On this machine, it builds
    fine too. And it runs like a cake in both debug/release configuration
    AS LONG AS no breakpoints are added and enabled. As soon as a single
    breakpoint is added (no matter where in the managed code), it crashes
    when debugging with this exception:


    CLR: Invalid x86 breakpoint in IL stream
    First-chance exception at 0x7c812a5b in TestProgram.exe : 0x02345678:
    0x2345678.
    A first chance exception of type 'System.Invalid ProgramExceptio n'
    occurred in TestProgram.exe


    I looked around on the internet and all I found on forums was
    Micosoft
    MVPs talking about details that I dont care about (bugs in the
    compile/
    assembler etc.). I have a professional grade product and it should
    allow me to do basic debugging.. I dont care if it can help build
    airplanes or not.


    I am looking for a plain answer as to why this is happening and why
    this hasnt been addressed yet after so many complaints.


    Any takers form Seattle? :-)


Working...