Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocking breakpoints #10

Open
awto opened this issue Apr 13, 2020 · 0 comments
Open

Blocking breakpoints #10

awto opened this issue Apr 13, 2020 · 0 comments
Labels
debugger @effectful/debugger related tickets enhancement

Comments

@awto
Copy link
Owner

awto commented Apr 13, 2020

In the current debugger implementation, the main thread is released on breakpoints. This way we can make other requests (such as some expressions evaluation, reloading sources etc).

However, it is a problem for not-transpiled or native code which calls the functions synchronously and requires everything is done before exiting the function (for example event.preventDefault called in the event handler).

We still can block the thread in these situations (in browser's main thread deprecated but still working sync XMLHttpRequest, and in node or WebWorker using Atomics.wait, or even resorting to the native debug API sometimes).

@awto awto added enhancement debugger @effectful/debugger related tickets labels Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debugger @effectful/debugger related tickets enhancement
Projects
None yet
Development

No branches or pull requests

1 participant