~/talk

The debugging mindset

Talkat DotNext 2019 Moscow · 2019-11-06..11-07· [developer-experience]
slides:none on file

Debugging becomes a methodical loop: inspect Process Explorer to find three processes, scan 3–4k-line logs for IPC pipe disconnect errors, decompile the .NET assembly with decompile .NET with dotPeek and recompile a quick patch, observe assembly sizes (273 KB vs 287 KB) and block updater by removing write permissions, build a small console using the app’s IPC library to extend IPC logging, discover the 3000 ms timeout in minified main.js, change it to 60 s, and the app starts — the end-to-end workaround actually works after a few hours.

AI-written summary · about

  1. 0:00Introduction to debugging
  2. 1:16Debugging is not about tools
  3. 2:44Gaining data during investigations
  4. 4:30Lazy and creative debugging
  5. 6:40Investigation begins with Twitch app
  6. 7:24Exploring application files
  7. 9:10Analyzing logs for errors
  8. 12:03Decompiling and testing theories
  9. 18:15Fixing the Java exception
  10. 21:07Bypassing auto-updater restrictions
  11. 22:54New exception and shutdown issue
  12. 24:41Investigating IPC connection failures
  13. 28:19Stuck and seeking help
  14. 29:02Building a custom IPC test app
  15. 33:19Testing IPC communication
  16. 37:21Activating detailed IPC logs
  17. 41:30Synchronous IPC connection test
  18. 43:19Comparing main and child process logs
  19. 46:58Decompiling Electron application
  20. 51:19Final fix and testing
  21. 52:02Key takeaways from debugging
  22. 53:28Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.