l
//Display the source code of the file where the main function is locatedlist 文件名:num
//Display the source code above and below the num line of the filename fileb 行号
//Add a breakpoint to the specified lineb 函数名
//Add a breakpoint to the first valid line of the pointer functioninfo break
//Display breakpoint informationdelete 断点号
//Delete the specified breakpointdisable 断点号
//Set the breakpoint to invalid, without adding the breakpoint number, set all breakpoints to invalidenable 断点号
//Set the breakpoint as valid, without adding the breakpoint number, set all breakpoints as validr(run)
//run the programn(next)
//single step executionc (continue)
//Continue to execute and execute directly to the next breakpoints
//Enter the function to be called to executefinish
//Exit functionq
//Exit debuggingp val
// print the value of the variable valp &val
//Print the address of the variable valp a+b
// print the value of the expressionp arr(数组名)
// print the value of all elements of the arrayp *parr@len
//Print the value of all elements of the array with a pointer to the arraydisplay
//Automatic display, the parameters are the same as the p commandinfo display
//Display automatic display informationundisplay + 编号
//Delete the specified automatic displayptype val
//display variable typebt
//Display function call stack
Linux single process, single thread debugging command
Guess you like
Origin blog.csdn.net/NuYoaH502329/article/details/132250305
Ranking