Skip to content

Fix debug_all builds#209

Draft
tameware wants to merge 2 commits into
dds-bridge:developfrom
tameware:fix-debug-all
Draft

Fix debug_all builds#209
tameware wants to merge 2 commits into
dds-bridge:developfrom
tameware:fix-debug-all

Conversation

@tameware

Copy link
Copy Markdown
Collaborator

Addresses Issue #200

tameware and others added 2 commits June 25, 2026 18:02
Dereference the transposition-table NodeCards pointer to match the
DumpRetrieved(const NodeCards&) signature when DDS_AB_HITS is enabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
Re-add the DDS_AB_HITS dump helpers in dump.cpp so debug_all links
succeed when ab_search logs transposition-table hits.

Co-authored-by: Cursor <cursoragent@cursor.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes --define=debug_all=true builds by ensuring the transposition-table “hits” debug dump functions are available (and correctly invoked) when DDS_AB_HITS is enabled via DDS_DEBUG_ALL.

Changes:

  • Include <utility/debug.h> in dump.cpp so DDS_AB_HITS is consistently enabled in that translation unit for debug_all builds.
  • Add DDS_AB_HITS-guarded definitions for DumpRetrieved and DumpStored to match existing declarations and call sites.
  • Update ab_search.cpp to pass a NodeCards reference (*cardsP) to DumpRetrieved, matching the declared signature.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
library/src/dump.cpp Enables/defines DDS_AB_HITS dump helpers in the TU so debug_all links successfully.
library/src/ab_search.cpp Fixes DumpRetrieved invocation to pass NodeCards by reference instead of pointer.

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.

2 participants