Slide 1

Slide 1 text

Debugging Complex Stuff Luiz // luiz.dev

Slide 2

Slide 2 text

Debugging code 1. Signals 2. 3. 4.

Slide 3

Slide 3 text

Signals ◦ Linting ◦ StackTrace ◦ TVs Monitoring on the wall ◦ Performance drop ◦ Higher number of tickets ◦ Unexpected side-effects

Slide 4

Slide 4 text

Signals ◦ Might be false positives ‍♂ ◦ But we can't ignore them. Gotta give them some love ◦ Regardless if it’s a false positive it’s good for us — we learn and improve ourselves for the future

Slide 5

Slide 5 text

Debugging code 1. Signals 2. Admit something is off 3. 4.

Slide 6

Slide 6 text

Debugging code 1. Signals 2. Admit something is off 3. Analyze context && Test hypothesis && Repeat 4.

Slide 7

Slide 7 text

Analyze context && Test hypothesis && Repeat See error line WTH could be wrong? Try to identify the cause When was it better? What changed? Smt I've done? Smt external and I can't change? Maybe my part is fine but due the context, it doesn't work? Ask for help

Slide 8

Slide 8 text

Debugging code 1. Signals 2. Admit something is off 3. Analyze context && Test hypothesis && Repeat 4. Make it better & Learn \o/

Slide 9

Slide 9 text

Make it better & Learn \o/ ◦ The sooner the better ◦ Even if (especially if) it has reached production (duh!) ◦ If we're in a safe environment we usually feel safe & supported to say: "Yo! Sorry! I broke the build! ‍♂ Let me try to fix it. Help is welcome" ◦ Monitor more / more often / more deeply

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Debugging code 1. Signals 2. Admit something is off 3. Analyze context && Test hypothesis && Repeat 4. Make it better & Learn \o/

Slide 12

Slide 12 text

Debugging ourselves 1. Signals 2. Admit something is off 3. Analyze context && Test hypothesis && Repeat 4. Make it better & Learn \o/

Slide 13

Slide 13 text

Debugging ourselves 1. Signals 2. 3. 4.

Slide 14

Slide 14 text

Signals ◦ Linting ◦ StackTrace ◦ TVs Monitoring on the wall ◦ Performance drop ◦ Higher number of tickets ◦ Unexpected side-effects ◦ Muscle tension ◦ Insomnia || Can't focus ◦ Acidic stomach . ◦ How people are reacting ◦ Irritability || Taking out on others ◦ Relationships starting to degrade

Slide 15

Slide 15 text

Signals ◦ Might be false positives ‍♂ ◦ But we can't ignore them. Gotta give them some love ◦ Regardless if it’s a false positive it’s good for us — we learn and improve ourselves for the future Are we just a “bag of chemicals”?

Slide 16

Slide 16 text

Debugging ourselves 1. Signals 2. Admit something is off 3. 4.

Slide 17

Slide 17 text

Debugging Oneself 1. Signals 2. Admit something is off 3. Analyze context && Test hypothesis && Repeat 4.

Slide 18

Slide 18 text

Analyze context && Test hypothesis && Repeat See error line WTH could be wrong? Try to identify the cause When was it better? What changed? Smt I've done? Smt external and I can't change? Maybe my part is fine but due the context, it doesn't work? Ask for help

Slide 19

Slide 19 text

Analyze context && Test hypothesis && Repeat WTH could be wrong? Try to identify the cause When was it better? What changed? Smt I've done? Smt external and I can't change? Maybe my part is fine but due the context, it doesn't work? Ask for help

Slide 20

Slide 20 text

Debugging ourselves 1. Signals 2. Admit something is off 3. Analyze context && Test hypothesis && Repeat 4. Make it better & Learn \o/

Slide 21

Slide 21 text

Make it better & Learn \o/ ◦ The sooner the better ◦ Even if (especially if) it has reached production (duh!) ◦ If we're in a safe environment we usually feel safe & supported to say: "Yo! Sorry! I broke the build! ‍♂ Let me try to fix it. Help is welcome" ◦ Monitor more / more often / more deeply

Slide 22

Slide 22 text

Make it better & Learn \o/ ◦ The sooner the better ◦ Even if (especially if) it has had consequences (duh!) ◦ If we're in a safe environment we usually feel safe & supported to say: "Yo! Sorry! I messed up! ‍♂ Let me try to be better next time. Help is welcome" ◦ Monitor more / more often / more deeply

Slide 23

Slide 23 text

On improving our “debugging” skills

Slide 24

Slide 24 text

Debugging code skills ◦ Can you imagine your career without the mentoring you’ve received, the 1-1s with your managers, the candid feedback, the hard conversations, the books, courses, conferences, proper tooling…?

Slide 25

Slide 25 text

Debugging ourselves skills ◦ So why when it comes to our mental health and soft skills we take the isolationist approach and just wing it? ◦ There are similarly tons of resources, practices and professionals for improving our own debugging! ◦ Let’s chat and share what works for us.

Slide 26

Slide 26 text

Happy Debugging Complex Stuff