Skip to content

feat(breakpoints): add watchpoint input to breakpoint panel#167

Open
alikhere wants to merge 1 commit intoc2siorg:mainfrom
alikhere:feat/gdbui-watchpoint-ui
Open

feat(breakpoints): add watchpoint input to breakpoint panel#167
alikhere wants to merge 1 commit intoc2siorg:mainfrom
alikhere:feat/gdbui-watchpoint-ui

Conversation

@alikhere
Copy link
Copy Markdown

@alikhere alikhere commented Mar 17, 2026

PR Summary

The /add_watchpoint endpoint existed on the backend but had no UI.
I added a watch expression input alongside the existing breakpoint form so you can finally set watchpoints from the browser. It sends the expression to the backend and shows a toast on success or validation failure.

How to test

Open the app, go to the Break Points panel, type a variable name into the watch input and hit add. Confirm the request hits /add_watchpoint and a toast appears. Try submitting empty to confirm the validationmessage shows.

Related Issue

Fixes #166

Notes

npm run lint still reports the same pre-existing ESLint errors as
before — nothing new introduced by this change.

@alikhere alikhere force-pushed the feat/gdbui-watchpoint-ui branch from 57faeb1 to 6a04a95 Compare March 17, 2026 22:57
@alikhere
Copy link
Copy Markdown
Author

Hi @Shubh942 Could you please review the PR whenever you get time.

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

Successfully merging this pull request may close these issues.

Add watchpoint UI to match backend

1 participant