Skip to content

CS559/DebuggerTutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual Studio Code Debugger Tutorial for CS559

This is a tutorial for the Visual Studio Code Debugger in the form of a CS559 Workbook.

Just like a regular workbook, to use it you should clone the repository, open the folder in Visual Studio Code, start the Live Server, and open the top-level index page in the web browser.

Being able to use Visual Studio Code is a pre-requisite for this tutorial (it is about how to use a more advanced feature in Visual Studio Code).

Unlike regular workbooks, for this one you should clone the public repository you can do

git clone git@github.com:CS559/DebuggerTutorial.git

assuming you have ssh set up correctly (which you should for class).

You can then start a web server in that directory, and look at index.html. While you can use any web server, it makes most sense to use the VSCode Live server (since this is a VSCode Tutorial).

What is this

You will probably want to use some debugger for class. The programs are complex enough that you are likely to need a debugger. Print statement debugging (console.log in JavaScript) is not going to be sufficient. One option is to simply use the debugger built into the web browser Chrome and FireFox have excellent debuggers built in. See the Chrome Debugger Quick Start for CS 559 (2019 Video) for help getting started. However, if you are using Visual Studio Code (that we recommend for class!) having the debugger integrated into your editor can be very helpful. We strongly recommend that you become familiar with the debugger before you need it for a program.

This tutorial is in the form of a CS559 “Workbook” (see Workbooks on the course web). Unlike the regular workbooks, we will not use GitHub Classroom, and you will not turn it in. It is completely optional, but if you don’t know how to use the Visual Studio debugger, this will help you learn the basics and give you some hands on experience.

Written Jan, 2021 by Gia-Phong Nguyen with help from the CS559 Course Staff. It was updated for 2022 by Hyojoon Park and Michael Gleicher the rest of the CS559 Course Staff.

Note: The repository "CS559/DebuggerTutorial" contains the "built workbook" (html). The workbook is actually written in Hugo. For staff who may need to edit the workbook, look elsewhere (the Workbooks repo).

About

A Tutorial for the Visual Studio Code Debugger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published