Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow REPL without breakpoint #103457

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theraot
Copy link
Contributor

@theraot theraot commented Mar 2, 2025

Implements godotengine/godot-proposals#11891

Implementation notes:

  • I check if the stack frame is greater or equal to zero, because in the context of no breakpoint it is -1
  • The check for the returned instance is already there, so I kept it
  • The code from taking the globals is based on "get_stack_frame_vars" a bit above (btw, members also requires an stack frame so they are out of the question)
  • I also don't know if there is a way to access static classes, with the implementation as it is at the time of writing they are not available.

I'm cofounder of Psyches Media, so I'm going to say Psyches Media sponsors this.

@theraot theraot requested a review from a team as a code owner March 2, 2025 08:11
@AThousandShips AThousandShips added this to the 4.x milestone Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants