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

Bun debugger crashes on reload with Firefox #16220

Open
Jaakkonen opened this issue Jan 7, 2025 · 0 comments
Open

Bun debugger crashes on reload with Firefox #16220

Jaakkonen opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working confirmed bug We can reproduce this issue debugger Something to do with `bun --inspect` or the debugger

Comments

@Jaakkonen
Copy link

Jaakkonen commented Jan 7, 2025

What version of Bun is running?

1.1.42+50eec0025

What platform is your computer?

Linux 6.12.7-1-cachyos-eevdf-lto x86_64 unknown

What steps can reproduce the bug?

  1. Create any bun executable file. touch empty.ts
  2. Run bun run --inspect-brk ./empty.ts
  3. Open debug link in Firefox (like https://debug.bun.sh/#localhost:6499/xxxxxxx)
  4. Reload page, get following error:
TypeError:​ E.isInsertionCaretInside is not a function (at manifest-yr1khc1r.js:​85:​110934)​
    WI._focusChanged @ manifest-yr1khc1r.js:​85:​110934
    TextareaInput.prototype.focus @ codemirror.js:​8770:​25
    focus @ codemirror.js:​7634:​58
    focus @ manifest-yr1khc1r.js:​51:​1250154
    attached @ manifest-yr1khc1r.js:​51:​858431
    _didMoveToParent @ manifest-yr1khc1r.js:​51:​410937
    insertSubviewBefore @ manifest-yr1khc1r.js:​51:​409166
    addSubview @ manifest-yr1khc1r.js:​51:​408414
    _showEntry @ manifest-yr1khc1r.js:​51:​1263590
    showBackForwardEntryForIndex @ manifest-yr1khc1r.js:​51:​1258843
    showContentView @ manifest-yr1khc1r.js:​51:​1258357
    _tabBarItemSelected @ manifest-yr1khc1r.js:​51:​572875
    A @ manifest-yr1khc1r.js:​37:​11388
    dispatchEventToListeners @ manifest-yr1khc1r.js:​37:​11428
    selectTabBarItem @ manifest-yr1khc1r.js:​51:​554098
    set selectedTabBarItem @ manifest-yr1khc1r.js:​51:​553582
    WI.contentLoaded @ manifest-yr1khc1r.js:​85:​88809
    ?​ @ 

What is the expected behavior?

Debugger not crashing

What do you see instead?

Image

Additional information

No response

@Jaakkonen Jaakkonen added bug Something isn't working needs triage labels Jan 7, 2025
@RiskyMH RiskyMH added debugger Something to do with `bun --inspect` or the debugger confirmed bug We can reproduce this issue and removed needs triage labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed bug We can reproduce this issue debugger Something to do with `bun --inspect` or the debugger
Projects
None yet
Development

No branches or pull requests

2 participants