Document variable value hover in the debugging manual - #669
Conversation
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.
There was a problem hiding this comment.
💡 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. |
There was a problem hiding this comment.
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 👍 / 👎.
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.