gdb breakpoint plus condition

gdb breakpoint plus condition

gdb breakpoints are an essential skill for daily tracking. One of the advanced uses of b function name is conditional breakpoint
b function name if a==5//integer type b function name if 0==strcmp(a,"abcdefg") //string type comparison


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324950438&siteId=291194637