Week 6 [Mon, Sep 16th] - 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 execute 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.

2 Sequence diagrams exercise

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

Explain Sequence Diagram about Machine


Explain Sequence Diagram (ParserFactory)