To stop the execution at the desired location, set a breakpoint at free_list() routine, so that nodes don't get free before you could have a look at their contents.
为了在所需的位置停止执行,在 free_list() 例程上设置一个断点。
Hook-stop is a special definition that GDB calls at every breakpoint event.
hook - stop是GDB在每次发生断点事件时调用的特殊定义。
First, start the instrumented program under the debugger and put a breakpoint at purify_stop_here purify API function. The debugger will stop at every purify error message.
首先,在调试器下开始这个仪表化程序,并将一个观察点置于purify_stop_herePurifyapi函数中。
In fact, you can set a breakpoint at purify_stop_here (as explained earlier in the "Using purify with the debugger" section) for purify to stop at every error (or message).
事实上,您可以为purify在purify_stop_here设置一个观察点(正如先前所阐述的那样,在“使用带有调试器的purify”部分),在每次运到错误的时候停止(或者消息)。
You can set it to stop execution when it hits the breakpoint and log the event at the same time.
我们可以在代码执行到断点时中断一下程序,也可以在这个时候做一些记录然后继续。
Setting a breakpoint on a system component during mixed-mode debugging can cause the common language runtime to break and the debugger to stop responding.
在混合模式调试期间,如果在系统组件上设置断点,则会导致公共语言运行时中断并使调试器停止响应。
Setting a breakpoint on a system component during mixed-mode debugging can cause the common language runtime to break and the debugger to stop responding.
在混合模式调试期间,如果在系统组件上设置断点,则会导致公共语言运行时中断并使调试器停止响应。
应用推荐