Get the latest tech news

Advanced Time Manipulation with GDB


This article provides an explanation of a few advanced debugging techniques using GDB's reverse debugging capabilities

It is usually worth keeping an eye on the first execution of your program, because you may hit the maximum number of instructions and stop progressing. If executing the recorded section backwards is faster than waiting for the inferior to start, you can make the following changes to the commands for breakpoints 1 and 2: If you plan to use this modifier time loop version, it is important to understand where non-deterministic things may happen in your program.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of GDB

GDB

Related news:

News photo

Nnd – a TUI debugger alternative to GDB, LLDB

News photo

Intel Engineers Adding GNU Debugger "GDB" Support For Intel GPUs

News photo

Pleasant Debugging with GDB and DDD