+ Reply to Thread
Results 1 to 4 of 4

Excel crashes with JIT Debugger Error Message

  1. #1
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Excel crashes with JIT Debugger Error Message

    I created this code for another user. When executed, Excel crashes and restarts with an error message it cannot find the JIT debugger. This does not happen when running other codes. Have done some research on JIT debugger but I am unable to find a fix related to Excel. Any thoughts on this issue?

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel crashes with JIT Debugger Error Message

    maybe it will help: Just-In-Time Debugger

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: Excel crashes with JIT Debugger Error Message

    @sandy666
    Thanks. Saw that during research. That is a net framework solution and not an excel solution. I will attempt to open net framework and see if that is the culprit.

    EDIT: Can't seem to find Net Framework as a program on my Win 10 machine.

    Alan
    Last edited by alansidman; 01-13-2016 at 07:14 PM.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel crashes with JIT Debugger Error Message

    But Excel calling JIT, probably so...

    Did you saw this?

    To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging enabled.

    For example:

    configuration
    system.windows.forms jitDebugging="true"
    configuration
    (sorry but I cannot put html code around code above )

    When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

    edit:

    I got something like this:
    for: Range("E" & ThisRow).Value = <'Method 'Range' of object '_Worksheet' failed'>
    Last edited by sandy666; 01-13-2016 at 07:58 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to re run macro after ERROR' Command will stop the debugger'
    By chevenowner in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-10-2014, 07:12 AM
  2. [SOLVED] Excel Crashes or Gives "Automation Error" on Mac when running Macro
    By mlj61289 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2013, 04:39 PM
  3. Excel Crashes with Automation Error when calling a Userfom
    By jonathan@ibbotsons in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-03-2013, 07:13 AM
  4. Replies: 0
    Last Post: 09-11-2008, 02:03 AM
  5. Excel xmlHTTP object error message - system/runtime error
    By Porky2007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2007, 09:36 AM
  6. Excel XP error message Run Time Error 91
    By Lenny in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2005, 07:06 PM
  7. Excel Error Message
    By tonyf in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2005, 01:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1