You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a nodes project that seems to crash Electron Helper when I hit cmd+R while devtools is paused at a debugger statement.
Steps to Reproduce
The project calls require(' ts-node/require') then require('index.ts') to start my app, which might be relevant to reproduce. The debugger statement resides in the index.ts (which is transpired and loaded with inlined source maps by ts-node.
Launch iron-node within the project folder: iron-node ./index.js
Wait for devtools to pause at a debugger statement.
Hit cmd+R
Expected behavior:
Reloads without issues.
Actual behavior:
Reloads but shows Problem Report for Electron Helper
Reproduces how often:
The crash seems to occur consistently on every reload even after relaunching iron-node and restarting, upgrading iron-node and dependencies, but in rare occasion while testing it sometimes stopped happening without clear cause.
It never happened when I manually pause devtools, as opposed to dynamically pausing by calling debugger, before hitting cmd+R.
At some point when I tried to replicate this by calling debugger from index.js, I could no longer reproduce it, even when I stepped through to the debugger statement in index.ts. I even removed the debugger statement from index.js to revert to the initial scenario and it no longer crashed when dynamically paused from index.ts. I simply don't have a clue what could have changed.
This has been happening for a few months, with different versions of every aspect involved (Iron-node, electron, node, typescript, ts-node, macOS, you name it), and it is not restricted to this one project, but most of my projects will usually require ts-node/require so it remains a potential factor but not necessarily the cause.
===================== Notes from ironNode maintainer:
You are welcome to add a feature or fix a bug via sending pull request,
it'll be incredibly faster than just opening a bug or feature request issue. 🎆 Thanks!
Sorry: I tried to do some leg work, but I can't seem to figure iron-node's internals enough to debug the issue. But I am available to help you with any troubleshooting or testing you need.
The text was updated successfully, but these errors were encountered:
Difficult for us to catch electron core crash situations. Additionaly I can not provide OS X support. Tried to reproduce this on Windows 10 without success. The best chance is to submit an issue at https://github.com/electron/electron/issues.
Are you willing to submit an issue there?
I think your error report ist good. Maybe the creators of electron can work with your description. The main point is the crash report, It would be good to post this as plain text there.
Description
I'm currently working on a nodes project that seems to crash Electron Helper when I hit cmd+R while devtools is paused at a debugger statement.
Steps to Reproduce
The project calls require(' ts-node/require') then require('index.ts') to start my app, which might be relevant to reproduce. The debugger statement resides in the index.ts (which is transpired and loaded with inlined source maps by ts-node.
Expected behavior:
Reloads without issues.
Actual behavior:
Reloads but shows Problem Report for Electron Helper
Reproduces how often:
The crash seems to occur consistently on every reload even after relaunching iron-node and restarting, upgrading iron-node and dependencies, but in rare occasion while testing it sometimes stopped happening without clear cause.
It never happened when I manually pause devtools, as opposed to dynamically pausing by calling debugger, before hitting cmd+R.
At some point when I tried to replicate this by calling debugger from index.js, I could no longer reproduce it, even when I stepped through to the debugger statement in index.ts. I even removed the debugger statement from index.js to revert to the initial scenario and it no longer crashed when dynamically paused from index.ts. I simply don't have a clue what could have changed.
This has been happening for a few months, with different versions of every aspect involved (Iron-node, electron, node, typescript, ts-node, macOS, you name it), and it is not restricted to this one project, but most of my projects will usually require ts-node/require so it remains a potential factor but not necessarily the cause.
Screenshot(s):
Version(s)
=====================
Notes from ironNode maintainer:
You are welcome to add a feature or fix a bug via sending pull request,
it'll be incredibly faster than just opening a bug or feature request issue. 🎆 Thanks!
Sorry: I tried to do some leg work, but I can't seem to figure iron-node's internals enough to debug the issue. But I am available to help you with any troubleshooting or testing you need.
The text was updated successfully, but these errors were encountered: