From 8c3a33617f8a8ebb7d4e776a5528bdfb9df3a390 Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Tue, 30 Jun 2026 13:36:37 -0400 Subject: [PATCH] Add documentation for last feature --- docs/CMock_Summary.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/CMock_Summary.md b/docs/CMock_Summary.md index 0c621fd..6728b93 100644 --- a/docs/CMock_Summary.md +++ b/docs/CMock_Summary.md @@ -728,6 +728,20 @@ from the defaults. We've tried to specify what the defaults are below. * 2 for normal (default) * 3 for verbose +* `:debug_output`: + When enabled, the generated mock will emit a `TEST_MESSAGE` for each + mock setup call (e.g. `_Expect`, `_Ignore`, `_AddCallback`) and each + actual mock invocation. This can help diagnose the order in which mock + calls are being set up and executed during a test. + + For example, with `:debug_output: true` and a mocked function `int foo(int a)`, + the generated mock will print messages such as: + + CMock: foo_ExpectAndReturn called + CMock: mock foo called + + * default: false + * `:weak`: When set this to some value, the generated mocks are defined as weak symbols using the configured format. This allows them to be overridden