Interrupt Pending state 中断挂起状态 ; 国家之前中断
You can now call this method and interrupt execution at any point of the loop, capturing the state of the program.
现在,可以调用这个方法并在循环的任意位置中断执行,这会捕获程序的状态。
It may not be desirable even to interrupt the process while in this state since it may be in the middle of completing some important task.
中断处于这种状态的进程是不合适的,因为它可能正在完成某些重要的任务。
In this case GDB will take control and interrupt the program, allowing you to examine the state of everything and hopefully find out why. To provoke this scenario we'll use an example program.
这种情况下,gdb会获得控制并中断程序,从而可以让您检查所有事物的状态,如果运气好的话,可以找出原因。
应用推荐