Skip to content

Debug mode #76

@vangberg

Description

@vangberg

Executive Summary

Proposal for "debug mode" to capture runtime function execution context (parameters, globals) using Python's trace module (1), enabling iterative development on function bodies as isolated scripts within pdit workflow (1). Motivated by author's experience converting Python packages to scripts for pdit compatibility (1). No implementation discussion or consensus yet; issue remains exploratory (1).

Key Technical Points

  • Would leverage Python's trace module or similar tooling to capture function execution state (1)
  • Explicit breakpoints proposed as potential mechanism for capturing function context (1)
  • Return values would be displayed in outputs for validation against expectations (1)
  • Enables treating function bodies as flat scripts, eliminating need to convert packages to scripts (1)
  • Related to issue Function execution #21 (1)

Action Items

  • No concrete implementation steps or discussion participants beyond author; awaiting community feedback (1)

Generated on 2025-12-15 09:38:09 by Issuerizer

Metadata

Metadata

Assignees

No one assigned

    Labels

    explorationExploring design and implementation of featuressummarizeIssued with this tag gets summarized automatically

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions