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

SDK v0.83.0 - v0.84.0 DevTools freezes on breakpoints with --single-process mode #8164

Open
BuggyTheBug opened this issue Feb 6, 2024 · 0 comments

Comments

@BuggyTheBug
Copy link

BuggyTheBug commented Feb 6, 2024

Current/Missing Behavior

If the DevTools are open and a breakpoint is hit in --single-process mode, the application will freeze and DevTools will become unresponsive.

Expected/Proposed Behavior

The breakpoint in DevTools should highlight and allow debugging without making the DevTools unresponsive.

Additional Info

While frozen, the application screen will display the 'Paused in debugger' button which can be pressed to skip past the breakpoint and resume functionality for both the application and DevTools until the breakpoint is encountered again.

SDK v0.82.0 appears to work correctly.

  • Operating System: Windows 10 Enterprise 22H2 19045.3930
  • NW.js version: SDK v0.83.0 - v0.84.0
  • Node.js version: v21.1.0

Reproduce steps

  1. Put a breakpoint on the var test = 0 line
  2. Press F5 to restart the application - the DevTools will freeze

index.html

<!DOCTYPE html>
<html>
  <body>
    <script type="text/javascript">
	var test = 0
    </script>
  </body>
</html>

package.json

{
  "name": "Test",
  "main": "start.js",
  "version": "1.0.0",
  "chromium-args": "--single-process",
  "window": {
    "resizable": true
  },
  "scripts": {
  },
  "dependencies": {
  },
  "devDependencies": {
  }
}
@BuggyTheBug BuggyTheBug changed the title SDK v0.84.0 DevTools freezes on breakpoints SDK v0.83.0 - v0.84.0 DevTools freezes on breakpoints Feb 6, 2024
@BuggyTheBug BuggyTheBug changed the title SDK v0.83.0 - v0.84.0 DevTools freezes on breakpoints SDK v0.83.0 - v0.84.0 DevTools freezes on breakpoints with --single-process mode Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant