Back to Browse

Practical Debugging at Scale Part 17: dtrace

530 views
Aug 21, 2023
11:36

Learn about dtrace which is a powerful tool for production debugging of running processes. In a way, it's the grandfather of the modern observability era. It is still a remarkably powerful debugging tool, to this day. Learn to debug like a senior developer with this comprehensive debugging course. To learn more check out https://debugagent.com/ This video is a part of the third module covering debugging tools. Is your debugging session limited to the IDE? What do you do when there's a dead end or the problem only happens in the release version of your application? That's where external tooling can take you to the next level as a developer. By leveraging these tools and techniques you will gain access to the secret weapon of senior developers and consultants. This will make you a better developer and a happier one. Stop treating debugging like throwing out the garbage and treat it as a skill that you should improve. In the following modules we cover: * Debugging Theory - Ever spent all night on a bug only to find out it was a "stupid" thing that you missed in the beginning? We all have! There's a systematic process for tracking an issue that reduces the chance of this recurring. * Code - This isn't a course on coding. You should know how to do that before you start. But how do you write code that's easier to debug? Code that fails in predictable ways. Code whose failures are easy to understand and track. Code that doesn't drain your bank account because it overuses cloud resources. * Kubernetes - Not only is Kubernetes hostile to debugging, it does that on a scale that creates its own set of problems. Add the complexity of production debugging to the mix and we've got a new set of problems. * Serverless - Kubernetes has an ephemeral state problem, serverless takes that problem to a completely new level. * Fullstack - As we chase a bug we need to venture outside our comfort zone. To tiers and tools we might not be as comfortable with. In this module we'll discuss debugging the frontend and the database to create a tongs motion around the bug. * Observability - Production debugging is really about observability. Yet so many of us leave these tools to the DevOps team. In this module we'll cover these tools from a developer perspective. The full course includes more than 5 hours of video material. 00:00 Introduction 00:42 No Focus on User Tools 01:10 DTrace 01:59 CPU Usage 02:22 Cheap 02:46 Limited 03:18 System Integrity Protection 04:00 csrutil disable 04:59 First dtrace Command 08:12 man dtrace 11:02 Final Word

Download

0 formats

No download links available.

Practical Debugging at Scale Part 17: dtrace | NatokHD