Repository navigation
Let the console debugger's E evaluate injected variables and parameters - #735
Merged
Merged
Conversation
lagergren
added a commit
that referenced
this pull request
Oct 27, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
ggleyzer
approved these changes
Oct 27, 2026
ggleyzer
left a comment
Collaborator
There was a problem hiding this comment.
Good fix. And a nifty test :)
lagergren
added a commit
that referenced
this pull request
Oct 27, 2026
Review on #735: the test's "code" read as an error code, its lambda counts as steps that should stay at zero, and its use of the error messages as fragile. - compile() takes the expression, as the console debugger's E is given it. - The test records whether each expression compiled; their messages are kept only to say why, if one that should compile does not. - The lambda counts before and after the expression that fails are named so: each one that compiles adds a lambda, so both are 2, which the test checks, and the one that fails adds none. Validation: EmbeddingSupportTest's 26 pass, none skipped; spotlessCheck passes. Limits: test only.
EvalCompiler, which compiles the console debugger's E in the frame where the program stopped, had three problems: - A variable held as a Ref, such as `@Inject Random random`, was captured with the Ref's type, so no method of the variable compiled: `E random.int(1)` failed with "Could not find a matching method or function "int" for type "@Inject Ref<Random>"". It is captured as its referent, which is what Frame.getArgument() reads. - A frame's variable was found only once its info had been made, and a parameter's info is made when it is first asked for. It now asks the frame, with Frame.getVarInfo(). - A lambda that did not compile stayed in the class it was added to, one more for every E that failed. It is removed. Tests: the new EmbeddingSupportTest case codeCompiledWhereARunStoppedSeesItsParametersAndInjectedValuesAndLeavesNoFailure runs a module that stops at assert:debug, with a debugger of its own set on the run's connector (#718), which compiles code there with EvalCompiler as the console debugger's E wraps it, before anything has asked for the frame's variables: `n + 1` for a parameter, `random.int(1)` for an injected value, and `nope`, after which the class must have as many lambdas as before. The connector gets Debugger.NONE back when the run ends. Validation: the case passes; with master's EvalCompiler it fails all three ways: "Name "n" is unresolvable.", "Could not find a matching method or function "int" for type "@Inject Ref<Random>"." and 3 lambdas instead of 2. :javatools:test passes 458 tests, the 42 existing skips; spotlessCheck passes. The three fixes are those of lagergren/errs d77fb9b, where the runtime debugger's evaluation shares EvalCompiler. Problems found and fixed: - Found on lagergren/errs, where the runtime debugger runs code in a stopped frame: `n` in a method's frame did not compile, nor did a call on an injected Console. Depends on #718, which gives a run its runtime's debugger, so that the test can set its own. Limits: on the console the parameter fix does not show, since it shows a frame's variables, and so makes their info, before E runs. E of a call without a value, such as `E console.print("hi")`, still fails: the console compiles E as a lambda that returns a value.
Review on #735: the test's "code" read as an error code, its lambda counts as steps that should stay at zero, and its use of the error messages as fragile. - compile() takes the expression, as the console debugger's E is given it. - The test records whether each expression compiled; their messages are kept only to say why, if one that should compile does not. - The lambda counts before and after the expression that fails are named so: each one that compiles adds a lambda, so both are 2, which the test checks, and the one that fails adds none. Validation: EmbeddingSupportTest's 26 pass, none skipped; spotlessCheck passes. Limits: test only.
lagergren
force-pushed
the
lagergren/fix-debugger-eval-captures
branch
from
October 27, 2026 15:02
057c298 to
732eb77
Compare
lagergren
enabled auto-merge (squash)
October 27, 2026 15:03
lagergren
added a commit
that referenced
this pull request
Oct 28, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Oct 28, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Oct 29, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Oct 29, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Oct 29, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Oct 29, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Oct 29, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Oct 29, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 2, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 2, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 4, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 4, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 5, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 5, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 9, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 9, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 11, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 11, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 22, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 22, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 25, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 27, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 27, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
lagergren
added a commit
that referenced
this pull request
Nov 28, 2026
- R8 is done: the Windows soak is not planned, by decision on 2026-10-27, so remaining.md, the execution plan and the integration plan tick it. - The EvalCompiler fixes are filed again as #735, now that #718 is on master; #721 points to it. - #693 has the six fixes since its last sync that are not debugger work, with their hashes there. - The 2026-10-26 and 2026-10-27 rebase backups and their bundle are deleted; the commit maps keep the old hashes. Validation: docs only; #735's and #693's figures are from the runs on those branches (javatools 460 with 42 skipped on #735's branch; the mirrored commits' test classes on #693). Limits: records only.
lagergren
added a commit
that referenced
this pull request
Nov 28, 2026
remaining.md: L82's uninterrupted full-catalog VS Code run is done (run-Pc161s, 332 of 333 with UP23's accepted X218; again on vscode-languageclient 11.0.0); the master candidates name what merged (#716, #717, #718, #720, #723, #731, #735), what closed, and #724 as the one still open; #693's sync line has its rebase onto #742 and its commit 71. The plan's opening and inventory name the 2026-10-28 full-catalog runs in both editors instead of the October 7 checkpoint. Validation: docs only; each state read from GitHub and the run reports on 2026-10-29; spotlessCheck and git diff --check pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refiles #721, which I closed while its test still needed #718. With #718 on master, this is its one commit, rebased onto master.
Summary
The console debugger's
Ecan't call a method on an injected variable: at a stop in a method with@Inject Random random,E random.int(1)fails with "Could not find a matching method or function "int" for type "@Inject Ref"".Root cause
EvalCompiler, which compilesEin the stopped frame, has three problems:Ref, such as an injected one, with theRef's type, whileFrame.getArgument()passes its referent.Ethat fails.Change
Refis captured as its referent's type.Frame.getVarInfo(), which makes a parameter's info when needed.Validation
EmbeddingSupportTestcase,codeCompiledWhereARunStoppedSeesItsParametersAndInjectedValuesAndLeavesNoFailure. It runs a module that stops atassert:debug, with a debugger of its own set on the run's connector through Let an embedded run pass assert:debug instead of hanging in the console debugger #718'sInterpreterConnector.setDebugger(). That debugger compiles code there withEvalCompiler, wrapped as the console debugger'sEwraps it, before anything has asked for the frame's variables. It checks:n + 1, a parameter, compiles;random.int(1), a method of an injected value, compiles;nopedoesn't compile, and leaves the class with as many lambdas as before.EvalCompilerthe case fails all three ways: "Name "n" is unresolvable.", "Could not find a matching method or function "int" for type "@Inject Ref".", and one lambda too many. Checked again on masterbcd8e30d58.EmbeddingSupportTestpasses 26 tests;:javatools:testpasses 460, with the 42 existing skips;spotlessCheckpasses.EvalCompiler. These are its fixes; there, they're covered through its debugger tests.Limits
Eruns.Eof a call without a value, such asE console.print("hi"), still fails: the console compilesEas a lambda that returns a value.