Matthew-DWM opened a new pull request, #9218: URL: https://github.com/apache/texera/pull/9218
### What changes were proposed in this PR? The paused Python line can have a debug-state entry without a breakpoint ID. Gutter toggles treated that entry as a breakpoint and sent bare `clear`, which blocks pdb on stdin. Creation replies also cleared its paused flag, causing an automatic resume, while the renderer missed the new dot. Choose the command by breakpoint ID, preserve the paused flag on creation, and reconcile dots when IDs or conditions change. ```text Before: paused line without a dot → add breakpoint → worker hangs or resumes without a dot After: paused line without a dot → add breakpoint → dot appears, execution stays paused ``` #### Before (main) https://github.com/user-attachments/assets/062509c7-c234-4b07-9cb1-5bd94efb8615 #### After (this PR) https://github.com/user-attachments/assets/12843037-dede-478c-83c1-c8b11877aef6 ### Any related issues, documentation, discussions? Closes #9105. Related: #9030 (debugger lifecycle changes). ### How was this PR tested? Regression tests failed before each fix and pass afterward. The 83 tests in the two specs cover Step/add, hit-breakpoint clear/re-add, conditions, repeated acknowledgements, worker fan-out, line-specific hit state, and real Monaco-model decorations with synthetic transport and two-document Yjs updates. From `frontend/`: ```sh yarn ng test --watch=false --include='**/udf-debug.service.spec.ts' --include='**/code-debugger.component.spec.ts' yarn format:ci yarn test:ci yarn build:ci ``` Format/build passed; full suite: 7,038 passed, one existing skipped. Automated browser run against a local stack, one Python worker: run a slow source loop, open the editor during execution, pause on line 9, Step to 10, then add through the gutter and Console. Both paths retain the paused highlight and draw the dot; subsequent Step reaches 11 and Continue hits 10 again. Conditional clear/re-add resets the condition and remains paused. On main, the same steps hang the worker (gutter) or resume the run (Console). ### Was this PR authored or co-authored using generative AI tooling? Generated-by: OpenAI Codex (GPT-6.1 Sol) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
