Tag: debugging

Lightning Talk: C++ Debug Performance is Improving: What Now? – by Vittorio Romeo – CppCon 2022

  • Lobby
  • Tag Archives: debugging

https://cppcon.org/
---

Lightning Talk: Cpp Debug Performance is Improving: What Now? - Vittorio Romeo - CppCon 2022
https://github.com/CppCon/CppCon2022

Informative talk about the state of debug performance in C++, and the difference between GCC, Clang, and MSVC. Will show why "zero-cost abstractions" such as `std::byte` and even `std::move` can slow down compilation to a crawl, what compilers have done to address that, and what is still missing.
---

Vittorio Romeo

Vittorio Romeo (B.Sc. Computer Science) has been a Software Engineer at Bloomberg for more than 3 years, working on mission-critical company C++ infrastructure and providing Modern C++ training to hundreds of fellow employees.

He began programming around the age of 8 and quickly became a C++ enthusiast. Vittorio created several open-source C++ libraries and games, published many video courses and tutorials, and actively participates in the ISO C++ standardization process.

He is also an active member of the C++ community and has an ardent desire to share his knowledge and learn from others: he presented more than 20 times at international C++ conferences (including CppCon, C++Now, ++it, ACCU, C++ On Sea, C++ Russia, and Meeting C++), covering topics of various nature.

Vittorio maintains a website with advanced C++ articles and a YouTube channel featuring well-received modern C++11/14 tutorials. Lastly, he’s active on StackOverflow, taking great care in answering interesting C++ question (60k reputation).
---

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd https://events.digital-medium.co.uk

#cppcon #programming #debugging

Filed under: UncategorizedTagged with: , , , ,

Lightning Talk: Developer Grief – by Thamara Andrade – CppCon 2022

  • Lobby
  • Tag Archives: debugging

https://cppcon.digital-medium.co.uk/tag/cppcon/">cppcon.org/
---

Lightning Talk: Developer Grief - Thamara Andrade - CppCon 2022
https://github.com/CppCon/CppCon2022

What do death and a customer bug have in common? Many will say nothing, but actually, we can find similarities between grief and the process of dealing with a tricky and prioritized issue.
---

Thamara Andrade
---

Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk

#cppcon.digital-medium.co.uk/tag/cppcon/">cppcon #cppcon.digital-medium.co.uk/tag/programming/">programming #cpp

Filed under: UncategorizedTagged with: , , , ,

Linux Debuginfo Formats – DWARF, ELF, dwo, dwp – What are They All? – Greg Law – CppCon 2022

  • Lobby
  • Tag Archives: debugging

https://cppcon.org/
---

Linux Debuginfo Formats - DWARF, ELF, dwo, dwp - What are They All? - Greg Law - CppCon 2022
https://github.com/CppCon/CppCon2022

Many different Linux debugging tools are available - as well as the traditional debuggers (GDB, LLDB) we have checkers (Valgrind, the sanitizers), tracing tools (strace, ltrace), time-travel debuggers (rr, UDB). They all rely on debug info to map from the executable back to the source-code. Most of us know to pass the -g option to gcc to generate debuggable binaries, but there is much more to it than that.

This talk covers what exactly is in debug info, the different compiler options to control its generation, and the different kind of object files and why you might want them (e.g. split dwarf files for quicker loading). We also introduce ways to manage this information, including the new debuginfod service.

As is usual for Greg's talks: few slides, many demos.

This talk will give the information you need in order to use the available tooling more effectively, and to troubleshoot when the debug experience doesn't quite "just work".
---

Greg Law

Greg is the founder of Undo. He is a coder at heart, but likes to bridge the gap between the business and software worlds. (Sadly, these days most of Greg's coding is done on airplanes).

Greg has 25 years’ experience in the software industry and has held development and management roles at companies including the pioneering British computer firm Acorn, as well as fast-growing start ups, NexWave and Solarflare. It was at Acorn that Greg met Julian and on evenings and weekends, they invented the core technology that would eventually become UDB and LiveRecorder. Greg has overseen the company as it transitioned from his garden shed to a scaling, award-winning business.

Greg holds a PhD from City University, London and was nominated for the 2001 British Computer Society Distinguished Dissertation Award. He lives in Cambridge, UK with his wife, two children, two dogs and a cat. In his spare time, Greg catches up on email.
---

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd https://events.digital-medium.co.uk

#cppcon #programming #linux

Filed under: UncategorizedTagged with: , , , , , , ,

Nobody Can Program Correctly – Lessons From 20 Years of Debugging C++ Code – Sebastian Theophil – CppCon 2022

  • Lobby
  • Tag Archives: debugging

https://cppcon.org/
---

Nobody Can Program Correctly - Lessons From 20 Years of Debugging C++ Code - Sebastian Theophil - CppCon 2022
https://github.com/CppCon/CppCon2022

We like to write code but—despite our best efforts—we make mistakes. Our program will contain bugs. Sometimes, we don’t write what we mean to write, sometimes we don’t understand an aspect of our programming language and at other times we lack—or fail to consider—some critical information about our program’s system environment. As a result, our program will not behave correctly. What do we do now?

In this talk, I would like to take you through the entire debugging process, starting with a program that crashes. What do we do next? Which questions do we have to ask? What information do we need? What can we do to find the cause of the crash? Which tools can help us in this quest, and, last but not least, what can we do to make sure this bug never happens again?

Thanks to real-world examples that we have encountered — and debugged — over the years, you will learn how to reproduce, locate, understand and fix even the most difficult bugs.
---

Sebastian Theophil

Sebastian has been working at think-cell Software since its founding in 2002. In the last few years, among many other things, he has ported think-cell to run on macOS.

He is also the maintainer of the typescripten project which lets programmers call JavaScript libraries from C++ code compiled to WebAssembly in a convenient and type-safe way. He enjoys to leave this desk from time to time to talk at international C++ conferences and has previously given talks at CppNow, CppCon, and ACCU.
---

Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk

#cppcon #programming #debugging

Filed under: UncategorizedTagged with: , , , ,

New in Visual Studio Code! Clang-Tidy, makefile, CMake, GitHub, & More – Marian Luparu & Sinem Akinci

  • Lobby
  • Tag Archives: debugging

https://cppcon.org/
---

What's New for You in Visual Studio Code - Clang-Tidy, makefile, CMake, GitHub, & More - Marian Luparu and Sinem Akinci - CppCon 2022
https://github.com/CppCon/CppCon2022

The C++ industry is accelerating its growth year over year and more developers are entering the work force, learning the expectations of production quality C++. We've been working to make Visual Studio Code the go-to editor for all these C++ developers and their teams, no matter the platform they're on.

In this session, we will learn how Visual Studio Code’s recent advances in makefile, CMake and vcpkg integrations can swiftly unleash its C++ editor, IntelliSense, Code Analysis and code navigation capabilities for any C++ codebase in minutes.

Join us to learn how you can also set up and connect to new dev environments remotely, in containers, in the browser, in the cloud, and how to manage complex local configurations that embedded developers must contend with daily.

You'll walk away from this talk with knowledge and tools to take advantage of all that Visual Studio Code's editor and debugger has to offer, along with tips about boosting your productivity in C++ development regardless of which editor or IDE you're using.
---

Marian Luparu

Marian is the Group Product Manager for the C++ team at Microsoft, leading the team responsible for making Visual Studio, Visual Studio Code, MSVC compiler toolset and Vcpkg more productive for C++ developers.
---

Sinem Akinci

Sinem is a Product Manager for the C++ team at Microsoft working on cross-platform development.
---

Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk

#cppcon #programming #vscode

Filed under: UncategorizedTagged with: , , , , , ,

Back to Basics: Debugging – Mike Shah – CppCon 2022

  • Lobby
  • Tag Archives: debugging

https://cppcon.org/
---

Back to Basics: Debugging - Mike Shah - CppCon 2022
https://github.com/CppCon/CppCon2022

I always tell my students, the debugger is your 'get out of jail free card' when working on a project. I say the same thing to professionals, debuggers are your 'get out of free jail card'. The reality is that programmers spend the majority of their time debugging as opposed to writing new code. Unfortunately many programmers do not learn how to use a debugger, or otherwise how they should approach debugging. In this talk I am going to show you how to debug C++ code, starting from the very basics and then demonstrating how a debugger like GDB can be used to help you track errors in CPU code. Attendees at this talk will learn names of debugging techniques (e.g. delta debugging), and I will demonstrate several debugging tools (stepping through code, capturing backtraces, conditional breakpoints, scripting, and even time traveling!) to demonstrate the power of debuggers. This is a beginner friendly talk where we are going to start from the beginning, but I suspect I may show a trick or two that folks with prior experience will appreciate.
---

Mike Shah

Mike Shah is an Associate Teaching Professor at Northeastern University in the Khoury College of Computer Sciences. His primary teaching interests are in computer systems, computer graphics, and software engineering. His research interests are related to performance engineering (dynamic analysis), software visualization, and computer graphics. Along with teaching and research work, he have juggled occasional consulting work as a 3D Senior Graphics Engineer in C++.

Mike discovered computer science at the age of 13 when googling ”how do I make games”. From that google search, Mike has worked as a freelance game developer, worked in industry for Intel, Sony Playstation, Oblong Industries, and researched at The Ohio Supercomputer Center to name a few. Mike cares about building tools to help programmers monitor and improve the performance of realtime applications– especially games. In Michael’s spare time he is a long distance runner, weight lifter, and amateur pizza maker.
__

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd https://events.digital-medium.co.uk

#cppcon #programming #debugging

Filed under: UncategorizedTagged with: , , , ,