Skip to content

Concept: Test a real Python debugger from Java - #277

Draft
tony wants to merge 1 commit into
masterfrom
concept/debugger
Draft

tony wants to merge 1 commit into
masterfrom
concept/debugger

Conversation

@tony

@tony tony commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Drive a paused Python program through a private tmux pane.
  • Assert the complete evaluated row before continuing the program.
  • Verify the resumed program's independent file result.

The Java example uses the public core and Python's standard debugger. A row containing the evaluated value can distinguish an answer from the command echoed by the terminal.

Run DebugPython using the commands in examples/README.md. Expecting 42 passes. Expecting 43 fails with the captured screen.

Test plan

  • The README commands exercised both the genuine and deliberately wrong answer.
  • Changing only the final file value failed after the screen assertion had passed.
  • The external program ran with tmux 3.3a and 3.8 and removed its private server.

Refs #271, #172, #224.

why: An interactive tutorial needs to show how to establish what ran.

what: Drive pdb in a real pane, check the evaluated row, and verify the
resumed application wrote the expected value.

This branch has not been deployed

No deployments
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.

1 participant