Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Suggested answer

Dexterity Script Debugger error

Posted on by 725

I'm trying to get into the script debugger on GP 2018 but when I click on the open script icon, I get this error:

Unhandled form exception:
Cannot open window. Script terminated.

EXCEPTION_CLASS_FORM_MISSING
SCRIPT_CMD_OPEN

and clicking on debug gives me this:

'Script Debugger OpenButton_CHG on form Script_Debug_Res'

'Browse of form Script Explorer', "ScriptDebuggerCallBack"

It's been a while since I've had to use the debugger and probably it was likely on GP 2013 or before.

Any help would be great. Thanks.

  • bwholl Profile Picture
    bwholl 725 on at
    RE: Dexterity Script Debugger error

    Thanks, that is the issue.  I have a macro that builds my cnk file, looks like I have something wrong in there.  I can open scripts when I look at other custom dictionaries.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,833 Moderator on at
    RE: Dexterity Script Debugger error

    When you compiled your chunk, did you change from Total Compression to Remove Unused Blocks in your chunking macro?

    #  ClickHit field '(L) Group Box' item 0  # 'Total Compression'

     ClickHit field '(L) Group Box' item 1  # 'Remove Unused Blocks'

    Remember to change this back if the dictionary is for a commercial product.

    If this is for a customer customization, I recommend leaving the source code in the dictionary.

    Regards

    David

  • bwholl Profile Picture
    bwholl 725 on at
    RE: Dexterity Script Debugger error

    Yes, I wanted to use it runtime.

    My dex.ini setting are:

    ScriptDebugger=TRUE
    ScriptDebuggerProduct=6301

    6301 is my registered ID for my dex l dictionary.

    I'm running on Windows 11 and I'm thinking I', just missing a file or something.  I had it working before but haven't had to use it for a while.

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,833 Moderator on at
    RE: Dexterity Script Debugger error

    Nothing has changed in the way the script debugger works.

    I assume you are using it in Runtime mode using the ScriptDebugger Dex.ini setting.

    If you just want it for logging, using GP Power Tools allows you to capture upto 5 logs with a single click and does not need the debug menu enabled.

    Make sure you have the ScriptDebuggerProduct=0 or another valid product Id.

    Regards

    David 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans