Source Viewer
QT
RACE
-
U
SER
M
ANUAL
© 2018 PDQLogic Ltd.
QTrace User Manual Rev 1.01
Page 15
The following are examples of what debug information can be inferred from code coverage
without
having to stop the CPU, or insert break-points and re-run the application or insert printf statements:
Figure 8 Code coverage #1 – Inferred time duration
Figure 9 Code coverage #2 – Multiple conditionals on separate lines
Figure 10 Code coverage #3 - Only 1 mutex created
Figure 11 Code coverage #4 – Blocked thread
Conditional statements on separate lines
quickly show which tests passed & failed
(line 891 didn’t execute therefore
Device_SaveSettings() on line 888 failed)
17 x 100ms delays
(button held between 1.7s & 1.8s)
Line not yet executed
(blocked on line 134 above)
xQueueCreateMutex() called only once
(unusual for a typical multi-threaded application)