Back to Freecodecamp

Dialogue 2: Discussing Debugging

curriculum/challenges/english/blocks/learn-how-to-use-basic-programming-vocabulary-in-conversations/662b868dab90d512fc912cad.md

latest3.1 KB
Original Source

--description--

Watch the video to understand the context of the upcoming lessons.

--assignment--

Watch the video

--scene--

json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Sarah",
        "position": { "x": -25, "y": 0, "z": 1 }
      },
      {
        "character": "Tom",
        "position": { "x": 125, "y": 0, "z": 1 }
      }
    ],
    "audio": {
      "filename": "5.1-2.mp3",
      "startTime": 1
    },
    "alwaysShowDialogue": true
  },
  "commands": [
    {
      "character": "Sarah",
      "position": { "x": 25, "y": 0, "z": 1 },
      "startTime": 0
    },
    {
      "character": "Tom",
      "position": { "x": 70, "y": 0, "z": 1 },
      "startTime": 0.5
    },
    {
      "character": "Sarah",
      "startTime": 1,
      "finishTime": 5.26,
      "dialogue": {
        "text": "Hey, Tom. I'm having some trouble with my code. I can't figure out what's wrong.",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "startTime": 6.02,
      "finishTime": 10.94,
      "dialogue": {
        "text": "Don't worry. Debugging is a common challenge for programmers. How much code are you working on?",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "startTime": 11.5,
      "finishTime": 15.28,
      "dialogue": {
        "text": "Well, it's actually a lot of code, but the issue is in a specific function.",
        "align": "left"
      }
    },
    {
      "character": "Sarah",
      "startTime": 15.5,
      "finishTime": 16.98,
      "dialogue": {
        "text": "I have a loop inside it.",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "startTime": 17.2,
      "finishTime": 20.22,
      "dialogue": {
        "text": "I see. Can you show me your code? I might be able to help.",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "startTime": 20.7,
      "finishTime": 23.54,
      "dialogue": {
        "text": "Sure. It's in this file's code. Let me find it.",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "startTime": 24.06,
      "finishTime": 26.44,
      "dialogue": {
        "text": "There are many debugging tools you can use.",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 26.8,
      "finishTime": 31.06,
      "dialogue": {
        "text": "Depending on the IDE that you're using, there are many extensions and plugins to use.",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 31.3,
      "finishTime": 32.44,
      "dialogue": {
        "text": "They are super helpful.",
        "align": "right"
      }
    },
    {
      "character": "Sarah",
      "startTime": 32.92,
      "finishTime": 34.54,
      "dialogue": {
        "text": "I'll keep that in mind. Thanks, Tom.",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "position": { "x": 125, "y": 0, "z": 1 },
      "startTime": 35.04
    },
    {
      "character": "Sarah",
      "position": { "x": -25, "y": 0, "z": 1 },
      "startTime": 35.54
    }
  ]
}