Skip to content

Commit 31685c0

Browse files
committed
Highlight debug module
1 parent 62057e4 commit 31685c0

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/+current/01_release-notes.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,38 @@ output("Building package assets" NOTICE LABEL "✓" LABEL_FORMAT "[ %label% ] ")
9292

9393
See [output module](./modules/output/index.md) for additional information.
9494

95+
### Debug
96+
97+
(_available since `v0.1`_)
98+
99+
Debugging utils.
100+
101+
```cmake
102+
set(resources_list "chart.png;driver.ini;config.json")
103+
104+
dump(
105+
resources_list
106+
)
107+
```
108+
109+
Outputs:
110+
111+
```txt
112+
CMake Warning at cmake/rsp/debug.cmake:31 (message):
113+
dump:
114+
115+
resources_list = (list 3) [
116+
0: (string 9) "chart.png"
117+
1: (string 10) "driver.ini"
118+
2: (string 11) "config.json"
119+
]
120+
Call Stack (most recent call first):
121+
CMakeLists.txt:108 (dump)
122+
```
123+
124+
See [debug module](./modules/debug/index.md) for additional information.
125+
126+
95127
### Logging
96128

97129
(_available since `v0.1`_)

0 commit comments

Comments
 (0)