Skip to content

Exception Breakpoints don't honor BreakpointMode #272410

Closed

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.105.0 (and main branch)
  • OS Version: Windows

Steps to Reproduce:

  1. Use a debug adapter that supports breakpoint modes on exception breakpoints
  2. Start a debug sessions and break on some line, throw a caught exception somewhere in the code
  3. In the breakpoints view, right click on the "caught exceptions" breakpoint
  4. Click on the "Edit Mode..." context menu
  5. Select a mode
  6. Run over exception throw
  7. Observe: the breakpoint mode is not honored, in particular, the filterOptions field in SetExceptionBreakpointsArguments is never set

Activity

  1. tsmaeder commented on Oct 21, 2025

    @tsmaeder
    Author

    I filed this as a bug, not a feature request, because the UI for setting modes is present, but has no effect. From the code in debugSession.ts#sendExceptionBreakpoints() it looks like only the code to transfer the mode to the debug adapter is missing.

  2. tsmaeder commented on Oct 21, 2025

    @tsmaeder
    Author
  3. added
    bug
    debug
    on Oct 21, 2025
  4. added
    stale
    on Oct 28, 2025
  5. alok-108 commented on Oct 16, 2026

    @alok-108
    Contributor

    I've opened a fix in #341972. sendExceptionBreakpoints only sent the condition in the ExceptionFilterOptions; it now sends the mode as well.

  6. added
    unreleased
    on Nov 2, 2026
  7. added this to the 1.146.0 milestone on Nov 2, 2026
  8. added
    insiders-released
    and removed
    unreleased
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugdebuginsiders-releasedstaleverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions