Skip to content

Document variable value hover in the debugging manual - #669

Open
hodor wants to merge 1 commit into
defold:masterfrom
hodor:debugger-variable-hover
Open

Document variable value hover in the debugging manual#669
hodor wants to merge 1 commit into
defold:masterfrom
hodor:debugger-variable-hover

Conversation

@hodor

@hodor hodor commented Aug 9, 2026

Copy link
Copy Markdown

The Lua debugger shows variable values when hovering code while paused at a breakpoint (defold/defold#12920). Adds the feature to the debugging manual's inspection section.

The Lua debugger shows variable values when hovering code while paused
at a breakpoint (defold/defold#12920). Adds the feature to the
debugging manual's inspection section.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6714d64e9f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

It is currently not possible to modify variables through the evaluator.

Inspecting variables by hovering
: With the game stopped at a breakpoint, hover the mouse over a variable in the code editor to see its current value. Simple values show directly in the tooltip. Tables open as an expandable tree that you can navigate, and each row has a copy button that copies the value to the clipboard. Hovering a dotted expression such as `self.position.y` shows the value of the full expression.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Gate this documentation until the hover feature ships

Because this docs repo rebuilds the public Defold site on push, this paragraph would advertise a debugger hover feature to all readers even though the referenced implementation PR (defold/defold#12920) is still open against defold:dev as of August 9, 2026. Until that editor change is merged and available in a release/beta channel, users following the manual with the current editor will not get variable-value tooltips, so this should either wait or clearly state the required editor version/channel.

Useful? React with 👍 / 👎.

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