Refactor of the TBC library debugging, metadata bug fix and minor documentation change #981
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.
PR Summary: TBC Library Debug Refactor (and other fixes)
This PR contains a comprehensive refactor of the debug logging system across the ld-decode tools and the TBC library. The changes improve consistency and provide better control over application-specific debug output by moving away from qDebug and, instead, implementing a local debug. This allows useful debug (for tool issues) to be output without the clutter of "real" Qt debug information (now available only from debug builds).
Commits Overview:
Fixes to readme.md (e08a916)
Re-enable the --debug switch for all Qt tools (3d583db)
--debugcommand-line switch functionality across all Qt-based toolsMove away from qDebug for application-specific debug information (b6be6a0)
qDebug()with application-specific debug outputRefactor all tools to use new application specific debug in TBC library (aaf5bf8)
ld-analyseld-chroma-decoderld-disc-stackerld-discmapld-dropout-correctld-export-metadatald-json-converterld-ldf-readerld-lds-converterld-process-vbild-process-vitsefm-decodersuite (audio, d24, data, f2, stacker, vfs-verifier)Fixed a bug in SQLite metadata writeField (9bcd6c1)
ld-process-vbiHarmonize the way the TBC library is used across the tools with a refactor (1e4e786)
Summary:
This refactor provides a unified debug logging approach across all tools, removes dependency on Qt debug output in release builds, and fixes related metadata handling bugs. The changes maintain backward compatibility while improving the user experience when debugging issues. This PR closes #977