Emil Kabirov
Emil Kabirov

Reputation: 569

Debugging with GDB on Unix: suspend execution

I try to figure out how can I suspend a C-program execution with GDB anywhere.

If I have a loop with no breakpoints how can I just suspend it whenever I want?

I'm also new to Unix.

Upvotes: 1

Views: 45

Answers (1)

Ruan de Beer
Ruan de Beer

Reputation: 36

ctrl z should work just fine if you are using a unix terminal.

Upvotes: 2

Related Questions