Clean Code - How to Write Amazing Functions

Topics covered
Popular Clips
Episode Highlights
Conditional Breakpoints
Conditional breakpoints are a powerful tool for making debugging more efficient and targeted. Michael Outlaw explains how to set these breakpoints in Visual Studio, allowing developers to stop execution only when specific conditions are met. This technique helps avoid cluttering code with excessive logging and keeps the debugging process clean and focused 1.
You can selectively turn them on and off without losing your code.
--- Michael Outlaw
Alan Underwood adds that combining conditional breakpoints with actions, such as logging messages, can significantly enhance debugging capabilities 2.
  Â
Logging During Debugging
Integrating logging within debugging sessions offers better insights without extensively changing the code. Michael Outlaw describes how to log messages directly from breakpoints, mimicking standard logging formats like Log4j. This method allows developers to inject debug code at runtime without committing it to the main codebase 3.
It's debug code that you can inject at will at runtime that doesn't have to be committed.
--- Michael Outlaw
Joe Zack shares his experience with creating videos on coding problems, emphasizing the importance of clear and effective debugging practices 4.
Related Episodes
Clean Code - Formatting Matters
Answers 383 questions

Clean Code - How to Write Classes the Right Way
Answers 383 questionsHow to be a Programmer
Answers 383 questions

Clean Code - Comments Are Lies
Answers 383 questions

Clean Code - How to Build Maintainable Systems
Answers 383 questionsDesign Patterns Part 3
Answers 383 questionsHow to be an Intermediate Programmer
Answers 383 questionsClean Code - Writing Meaningful Names
Answers 383 questionsDesign Patterns Part 1
Answers 383 questionsHow to be an Advanced Programmer
Answers 383 questions

Clean Architecture - Programming Paradigms
Answers 383 questions

Write Great APIs
Answers 383 questions

Clean Architecture - Are Microservices Truly Decoupled?
Answers 383 questions
Clean Architecture - Fight for Architecture
Answers 383 questionsJavascript Promises and Beyond
Answers 383 questions
