Giter VIP home page Giter VIP logo

debuggertutorial's Introduction

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 [email protected]: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).

debuggertutorial's People

Contributors

gleicher avatar

Watchers

 avatar

Forkers

wrencanfly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.