Week 6 [Mon, Sep 15th] - Tutorial

1 Demo your debugging skills

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

Relevant textbook topic:

prior to the tutorial, or in the first 10 minutes:

  1. Open your iP or tP code in your IDE or any other code editor that has reasonable debugging support.
  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.
  6. Optional: Set a , take a screenshot of it too.

first 10 minutes: Paste your screenshots in the T6-Workspace.pptx file the tutor will share with you via MSTeams.

2 Sequence diagrams exercise

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

Explain Sequence Diagram about Machine


Explain Sequence Diagram (ParserFactory)