stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 315

Day 315 of 365 · Expert · Month 11: Optimisation and debugging

Review week 45: debugging

Eleven questions on debugging: error codes, silent errors, probes, the simulator and test cases.

Review 12 min Week 45

What you learn today

  • Quiz on error codes, probes and test cases

This week was about errors that are loud and errors that stay silent. For review:

  • Error codes: 39 numbers from 0 to 38. In everyday play mostly 4, 6, 9, 18, 20 and 25. A second chip only sees 0 or 1 via Error, and the line via LineNumber.
  • Silent errors: NaN from Average, −inf from Maximum, the program end without a loop and wrong units. sgt ok t 0 catches NaN and −inf for temperatures.
  • Probes: write intermediate values to the housing, to displays or into a Logic Memory, count edges.
  • Simulator: breakpoint, step and tick, history, Δ/tick and couplings.
  • Test cases: normal case, edge case, failure – as a table before you program, and all of them after every change.

You pass from 60 %.

Weekly quiz

11 questions. You pass from 60 % – the server does the grading.

Complete the day

  • Passed the quiz with at least 60 %

Without an account progress is saved in this browser only.

Report a mistake in this lesson

Please sign in to report. Sign in

Esc
↑ ↓ selectEnter open/ opens search anywhere