Week 6 [Mon, Feb 17th] - Tutorial

1 Demo your debugging skills

This tutorial task prepares you for an upcoming tP task. So, do not skip it.

Relevant textbook topic:

If you are new to debugging with an IDE, we recommend you have a look at [guide@se-edu] Intellij IDEA: Using the debugger.

  1. Open your iP or tP code in your IDE.
  2. Set a breakpoint somewhere in the code.
  3. Run the code in debug mode.
  4. When the execution stops at the break point, use the debugger to 'step through' 1-2 more statements.
  5. Take a screenshot of the IDE and paste in the tutorial workspace file.
  6. Optional: Set a , take a screenshot of it, and paste it in the same file.

FAQ When doing tutorial task 1, I couldn't update the workspace file before it was downloaded by the tutor. Will I be penalised?


2 Sequence diagrams exercise

  • Do the following two exercises, as guided by the tutor.

Explain Sequence Diagram about Machine


Explain Sequence Diagram (ParserFactory)