Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 301 forks source link

Komodo executes script other than shown in current tab #3873

Open networks1 opened 4 years ago

networks1 commented 4 years ago

Short Summary

When working with several open tabs, executing a script runs a script other than the one with the focus. Normally this happens with a tab that has been recently run, however today it ran a script that wasn't even in an open tab.

Steps to Reproduce

Use Komodo with lots of tabs open and run a script.

Expected results

The script in the selected tab runs.

Actual results

A script other than the one in the selected tab runs.

Platform Information

Komodo Edit or IDE? IDE Komodo Version? version 11.1.2, build 91158 Operating System (and version)? Windows 10 Version 10.0.18362 Build 18362

Additional Information

[2020-05-11 17:04:02,928] [ERROR] debugSessionTab: -- EXCEPTION START -- TypeError: invocation is null

[2020-05-11 17:05:27,509] [ERROR] console-logger: Error: Error calling method on NPObject! (2) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2011%20nightly/lib/mozilla/components/scimoz_wrapper.js:2922 Traceback (most recent call last): File "file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2011%20nightly/lib/mozilla/components/scimoz_wrapper.js", line 2922, in

[2020-05-11 17:05:27,513] [ERROR] console-logger: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "Error calling method on NPObject!" {file: "file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2011%20nightly/lib/mozilla/components/scimoz_wrapper.js" line: 2922}]'[JavaScript Error: "Error calling method on NPObject!" {file: "file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20IDE%2011%20nightly/lib/mozilla/components/scimoz_wrapper.js" line: 2922}]' when calling method: [ISciMoz::getTextRange] (2) in chrome://komodo/content/sdk/editor.js:531 Traceback (most recent call last): File "chrome://komodo/content/sdk/editor.js", line 531, in