filmov
tv
Time Travel Debugging - Debug Complex C++ Bugs With Software from Undo - Mark Williamson - 2024
Показать описание
---
Time Travel Debugging - Debug Complex C++ Bugs With Software from Undo - Mark Williamson - 2024
---
Everyone knows that debugging is twice as hard as writing the code in the first place. Most of the challenge is figuring what really happened -- where reality diverged from your mental model. Printf and regular debuggers are pretty painful ways to figure this out, but until recently they were really all we had.
Today there is a new generation of debugging tools: time travel debuggers. These let you wind back your program to any line of code that executed and see any the value of any variable, any location in memory or register. You can see exactly what happened. No more guesswork, no more uncertainty. Full root cause analysis becomes almost trivial.
These tools appear almost magical, too good to be true. But the current generation of time travel debuggers work at scale, and are practical for use on programs that have terabytes of working set and run for days.
In this talk we show how you use a time travel debugger, and how it will change the way you write code for ever. We also get into some of the details of how these seemingly magically tools are implemented.
---
---
Mark Williamson
Mark started programming in the 80s, using Sinclair Basic on a ZX Spectrum + (the fancy one, with genuine plastic keys and 48KB of memory). Ever since then, he's wanted to explore what makes computer systems tick and build software that's useful to other people.
During his career, he's worked on high performance virtualisation, high performance storage protocols and smart material control systems (Google for Nitinol alloy, it's fascinating, spooky stuff!).
---
C++ on Sea is the international C++ conference taking place by the sea, in the UK. Our venue is in Folkestone, Kent, near the entrance to the channel tunnel with stunning views across the English Channel.
---
---
#cpp #cplusplus #debugging #debuggingtips #softwaredevelopment
Time Travel Debugging - Debug Complex C++ Bugs With Software from Undo - Mark Williamson - 2024
---
Everyone knows that debugging is twice as hard as writing the code in the first place. Most of the challenge is figuring what really happened -- where reality diverged from your mental model. Printf and regular debuggers are pretty painful ways to figure this out, but until recently they were really all we had.
Today there is a new generation of debugging tools: time travel debuggers. These let you wind back your program to any line of code that executed and see any the value of any variable, any location in memory or register. You can see exactly what happened. No more guesswork, no more uncertainty. Full root cause analysis becomes almost trivial.
These tools appear almost magical, too good to be true. But the current generation of time travel debuggers work at scale, and are practical for use on programs that have terabytes of working set and run for days.
In this talk we show how you use a time travel debugger, and how it will change the way you write code for ever. We also get into some of the details of how these seemingly magically tools are implemented.
---
---
Mark Williamson
Mark started programming in the 80s, using Sinclair Basic on a ZX Spectrum + (the fancy one, with genuine plastic keys and 48KB of memory). Ever since then, he's wanted to explore what makes computer systems tick and build software that's useful to other people.
During his career, he's worked on high performance virtualisation, high performance storage protocols and smart material control systems (Google for Nitinol alloy, it's fascinating, spooky stuff!).
---
C++ on Sea is the international C++ conference taking place by the sea, in the UK. Our venue is in Folkestone, Kent, near the entrance to the channel tunnel with stunning views across the English Channel.
---
---
#cpp #cplusplus #debugging #debuggingtips #softwaredevelopment