Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Productive Debugging. Because time is money

Productive Debugging. Because time is money

Adora Nwodo

October 11, 2019
Tweet

More Decks by Adora Nwodo

Other Decks in Programming

Transcript

  1. HI, I’M ADORA! Software Engineer, Microsoft Dev Blog, YouTube @adorahack

    Co-Organizer Android Ngr, GDG Ajah, Unstack @theadoranwodo 4
  2. 6

  3. Snapshot Debugger 8 Visual Studio Code Visual Studio Xdebug WinDbg

    LLDB DBG @THEADORANWODO Debugger Examples PDB
  4. REMOTE DEBUGGING Remote debug Azure app service, ASP.NET, C# or

    C++ 18 @THEADORANWODO DO. NOT. TRY. THIS. IN. PRODUCTION.
  5. SYMBOLS 24 They are the record of how the compiler

    turned source code into machine code @THEADORANWODO
  6. MANAGING STATE 27 Inspect state & manipulate it. Variable windows:

    Autos, locals, watches Execution state: Call stack, thread & modules Registers, Disassembly, memory Interactive Windows Object IDs @THEADORANWODO
  7. 31 @THEADORANWODO Image from Microsoft Dev Blog THE DEBUGGER DISPLAY

    ATTRIBUTE new Book(){ id = 1, title = “Things fall apart”, author = “Chinua Achebe”, createdAt = “2019-10-10 00:00:00”, updatedAt = “2019-10-10 00:00:00” } This Book Object is cute but I want just “Chinua Achebe”
  8. 36 @THEADORANWODO Images from Microsoft Dev Blog HOW DO YOU

    LOG DATA WHEN DEBUGGING? Tracepoints are console logs that studied abroad
  9. 37 @THEADORANWODO Images from Microsoft Dev Blog HOW DO YOU

    LOG DATA WHEN DEBUGGING? Tracepoints are console logs that studied abroad