Time Travel Debugging - Greg Law - Meeting C++ 2023

  Рет қаралды 3,043

Meeting Cpp

Meeting Cpp

Күн бұрын

Time Travel Debugging - Greg Law - Meeting C++ 2023
Slides: slides.meeting...
Take the survey: survey.meeting...
Everyone knows that debugging is twice as hard as writing the code in the first place. At some point your program, which did billions of things per second, has diverged from your expectations and you need to figure out where. Time travel debugging can be incredibly powerful: it allows you to rewind your program's execution to any line of code that executed and see any piece of program state at any time. Setting a watchpoint (aka data breakpoint) on a suspicious-looking data and winding back to the line of code that last changed that data is particularly helpful.
For decades time travel debuggers have been toys, but now they're here for real. The latest breed have good performance and scale well to real-world, complex code. This talk will show demos of different tools on different platforms (open-source and proprietary) and get under the hood to explain how they work so that you can get the best out of them.

Пікірлер: 4
@fwopkins
@fwopkins 11 ай бұрын
6:30 what a brilliant illustration of time travel debugging by time travelling through his presentation. 🥇
@friedrichdergroe9664
@friedrichdergroe9664 11 ай бұрын
Massively Cool.
@billionai4871
@billionai4871 11 ай бұрын
Hah, what a coincidence! Early this month i JUST gave a talk on FOSDEM about the internal workings of GDB's inbuilt time travel debugging and how we're taking baby steps in improving it On an interesting note, the hardware watchpoint was fixed recently, and will no longe be a bug in GDB 15 :)
@saturdaysequalsyouth
@saturdaysequalsyouth 11 ай бұрын
Ubuntu 20.04 has some different configuration which makes following this example very difficult. I didn't get the same crash reason the presenter got. Ubuntu 20.04 has some stack protection. "*** stack smashing detected ***: terminated"
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 173 М.
Why Are Threads Needed On Single Core Processors
16:07
Core Dumped
Рет қаралды 262 М.
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 339 М.
C++ Reflection: Back on Track - David Olsen - Meeting C++ 2024
1:03:11
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН