Setting breakpoints
We'll cover the following
A breakpoint is a line in the code where you want to pause execution. You can set a breakpoint by calling the break (or b) command followed by a space and the line number that you want to break on. You can also prefix the line number with a filename and colon to specify a breakpoint in a different file. The break command also allows you to set a breakpoint with the function argument. There is also a tbreak command which will set a temporary breakpoint which is automatically removed when it gets hit.
Here’s an example:
Get hands-on with 1400+ tech skills courses.