Skip to content

Commit

Permalink
Update debugging.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN authored May 19, 2023
1 parent 944b73a commit f9f52cf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/decl-macros/minutiae/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ note: trace_macro
= note: to ``
```

This is *particularly* invaluable when debugging deeply recursive `macro_rules!` macros.
You can also enable this from the command-line by adding `-Z trace-macros` to the compiler command line.

它在调试递归很深的宏时尤其有用。

此外,你可以在命令行里,给编译指令附加 `-Z trace-macros` 来打印追踪的宏。
Expand Down

0 comments on commit f9f52cf

Please sign in to comment.