Files
FreeCADWasmDev/docs/current/web-786f0f798ad3b7614e56282c-boundaries.md
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

1.8 KiB

Batch 786f0f798ad3b7614e56282c

Edits only; no builds, tests, browser validation, or acceptance executed.

Implemented native macro helper dispatch and Part family dispatch for Step Into, Step Over, Stop Debug, and Toggle Breakpoint. The Web adapter routes these and Start Debug through the Part runtime that owns the document. The debugger uses bdb step, next, continue, quit, and breakpoint operations on its retained session. Open Macros Folder is now admitted by the Part macro family branch, which calls the existing native directory listing implementation.

Remaining boundaries:

  • Connect the mounted macro editor's filename, source, cursor line, debugger state, and scene refresh to all selected debugging actions. The new adapter route currently requires caller-supplied filename/source for start and line for breakpoints. Breakpoints currently require an active paused session; pre-start editor breakpoints remain unimplemented.
  • Inspect debugger thread ownership and asynchronous suspension before claiming responsive debugging: advance still waits for a trace stop or completion, which prevents a queued stop from interrupting a running macro.
  • Inspect and connect Open Macros Folder's existing adapter and mounted host.
  • Inspect actual Safe Mode and Text Document branches and connect their native registration and mounted host behavior. These two commands were not changed.
  • WebRuntimeProbe registration for the new debugger commands remains unchanged; the added application route uses Part's native macro family instead.

The four supplemental packet source windows were consumed. Continue with fresh bounded anchors for web/src/web-desktop-adapter.ts macro handlers, web/src/workbench-shell.tsx macro editor, NativeDocumentView.h:34, WebViewCommands.h:1356, :1588, and :1665. Do not infer completion from registrations.