To use tprof for micro-profiling, the application must be linked and compiled with the -g debug flag.
要想使用tprof执行微剖析,应用程序在编译和链接时必须使用—g调试标志。
Sendmail checked that "debug flag" values weren't larger than the legal value, but it didn't check if the number was negative.
sendmail会检查“调试标记”是不是比合法的值大,但是它并没有去检查这个值是不是负数。
Unless you are concerned about security, I recommend leaving the debug flag (-g) on all the time even when compiling for production.
除非您非常关注安全性,否则我建议您保留调试标记(- g),即使在编译产品时也是如此。
This flag prints additional debug information to the log.
这个标志会将更多的调试信息输出到日志中。
After the debug exception is generated, the trap flag is cleared automatically.
在调试异常产生之后,陷阱标志被自动清除。
By changing this flag, you can instruct the debug heap to check for memory leaks when the program exits and report any leaks that are detected.
您可以变更这个旗标,来指示侦错堆积在程序结束时检查记忆体遗漏,并且报告任何侦测到的遗漏。
By changing this flag, you can instruct the debug heap to check for memory leaks when the program exits and report any leaks that are detected.
您可以变更这个旗标,来指示侦错堆积在程序结束时检查记忆体遗漏,并且报告任何侦测到的遗漏。
应用推荐