Meta tags:
Headings (most frequently used words):
python, use, codehs, using, the, debugger, products, plans, cases, platform, curriculum, pd, programming, languages, resources, has, everything, company, javascript, java, new, sandbox, program, please, enable, to, html, karel, turtle, by, calvin, studebaker, basic, functions, in, related, tutorials,
Text of the page (most frequently used words):
the (57), your (31), codehs (30), #program (19), for (19), coding (18), courses (18), python (18), code (18), you (16), step (16), online (15), debugger (14), next (14), ide (13), curriculum (12), and (12), run (12), use (11), write (11), using (11), line (11), center (10), digital (10), student (10), schools (9), school (9), function (9), with (9), about (8), elementary (8), grading (8), why (8), platform (8), products (8), pause (8), privacy (7), java (7), teachers (7), literacy (7), workshops (7), tools (7), classroom (7), all (7), print (7), academic (6), integrity (6), javascript (6), new (6), tutorials (6), standards (6), catalog (6), course (6), states (6), cybersecurity (6), computer (6), science (6), resources (6), person (6), data (6), assignments (6), pro (6), typing (6), professional (6), development (6), high (6), debug (6), instruction (6), this (6), breakpoints (6), middle (6), districts (6), html (5), sandbox (5), projects (5), learn (5), free (5), programs (5), out (5), breakpoint (5), through (5), press (5), start (5), try (5), into (5), explore (5), vibe (4), karel (4), sql (4), textbooks (4), practice (4), spanish (4), project (4), cte (4), district (4), cases (4), career (4), knowledge (4), base (4), read (4), blog (4), testimonials (4), case (4), studies (4), microcredentials (4), teacher (4), certification (4), prep (4), cohorts (4), virtual (4), integrations (4), quote (4), codehop (4), tynker (4), cyber (4), range (4), creator (4), certifications (4), commands (4), can (4), pdb (4), set (4), value (4), while (4), continue (4), that (4), any (4), see (4), only (4), finish (4), our (4), gamified (4), interactive (4), class (4), based (4), create (4), educators (3), security (3), careers (3), company (3), assessments (3), has (3), languages (3), state (3), get (3), membership (3), pathways (3), are (3), variable (3), execution (3), current (3), steps (3), tutorial (3), industry (3), click (3), turn (3), will (3), what (3), want (3), type (3), from (3), how (3), view (3), students (3), overview (3), customizable (3), comprehensive (3), accessibility (2), policy (2), terms (2), team (2), yes (2), physical (2), computing (2), differentiation (2), everything (2), programming (2), csa (2), hub (2), homeschool (2), alumni (2), webinars (2), customer (2), support (2), book (2), tweets (2), back (2), checklist (2), plans (2), lms (2), calvin (2), studebaker (2), specific (2), continues (2), without (2), pausing (2), skips (2), following (2), built (2), running (2), note (2), number (2), when (2), now (2), then (2), console (2), phonebook (2), name (2), debugging (2), values (2), variables (2), should (2), take (2), not (2), calls (2), command (2), import (2), statement (2), call (2), very (2), stepping (2), real (2), settings (2), debuggers (2), each (2), world (2), wild (2), help (2), stories (2), blocks (2), tracy (2), events (2), training (2), interdisciplinary (2), measure (2), growth (2), pre (2), posttests (2), logic (2), quizzes (2), quizbuzz (2), build (2), culture (2), honesty (2), most (2), complete (2), toolkit (2), education (2), connect (2), web (2), track (2), analyze (2), progress (2), streamline (2), workflow (2), manage (2), organize (2), configure (2), prototyping (2), bool (2), guided (2), easily (2), lessons (2), environment (2), labs (2), credentials (2), easy (2), apps (2), aligned (2), store, educator, facebook, group, certified, hour, management, ryan, hart, basic, functions, related, these, main, but, check, disposal, reading, documentation, break, prints, cont, method, learned, standard, curious, more, modify, need, order, must, put, place, before, first, setting, some, once, hits, where, come, handy, loop, counter, dictionary, stored, inside, printing, again, time, nexts, since, does, here, every, off, skip, over, general, personally, wrote, generally, anytime, library, didn, ourselves, always, within, regardless, which, located, provides, few, options, let, allows, entering, mode, editor, useful, analyzing, allow, slowly, flow, also, just, analog, guy, living, turtle, one, below, started, sign, log, request, tech, articles, tos, posts, highlights, feed, news, community, say, succeed, practices, mission, open, blank, language, right, browser, setup, required, grow, supplemental, educational, teaching, empower, solutions, offer, menu, toggle, navigation, please, enable,
Text of the page (random words):
tutorial using the python debugger codehs please enable javascript to use codehs toggle navigation codehs menu products elementary middle codehop standards aligned coding for districts tynker gamified coding and apps typing easy to use typing for schools middle high codehs pro comprehensive cs platform certifications industry based credentials for cte cyber range interactive environment for cybersecurity labs ai ai creator easily create lessons with ai vibe coding guided ai coding for students bool ai coding and prototyping use cases districts schools teachers view all products products explore what codehs has to offer for districts schools and teachers elementary middle codehop standards aligned coding for districts tynker gamified coding and apps typing easy to use typing for schools middle high codehs pro comprehensive cs platform certifications industry based credentials for cte cyber range interactive environment for cybersecurity labs ai ai creator easily create lessons with ai vibe coding guided ai coding for students bool ai coding and prototyping use cases districts comprehensive solutions for districts schools tools and resources for schools teachers empower educators in the classroom view all products platform teaching assignments create configure your course assignments classroom manage organize your class grading streamline your grading workflow academic integrity build a culture of honesty in your classroom quizbuzz run gamified interactive quizzes with your class tools data track analyze student progress data write code write run debug code in a web based ide integrations connect codehs to your district s platform ai tools the most complete ai toolkit in cs education logic measure student growth with pre posttests platform assignments create configure your course assignments classroom manage organize your class with customizable settings grading streamline your grading workflow data track analyze student assessments progress data write code write run debug code all in a web based ide integrations connect codehs to your district s educational platform ai tools the most complete ai toolkit in cs education academic integrity build a culture of honesty in your classroom quizbuzz run gamified interactive quizzes with your class logic measure student growth with pre posttests curriculum computer science curriculum customizable k 12 cs curriculum overview course catalog ap courses ai courses interdisciplinary spanish courses ai literacy digital literacy cybersecurity k 12 pathways elementary school middle school high school standards states supplemental practice tutorials digital textbooks curriculum customizable k 12 computer science curriculum course catalog ap courses interdisciplinary ai courses spanish courses ai literacy digital literacy cybersecurity k 12 pathways elementary middle school high school states standards practice tutorials digital textbooks professional development pd professional development online in person training to help teachers grow overview online pd courses in person virtual workshops ai pd free pd events pd cohorts teacher certification prep microcredentials pd membership professional development online in person training for teachers professional development online pd courses in person virtual workshops ai pd pd cohorts free pd events teacher certification prep microcredentials pd membership online ide ide online ide write run debug code right in your browser no setup required overview explore our languages javascript python java c sql html tracy blocks p5 js start a new project open a blank sandbox in any language new project online ide write run debug code in an online ide online ide javascript python java html c sql karel tracy blocks p5 js resources company about learn about the codehs mission privacy center our privacy security practices case studies how schools succeed with codehs testimonials what educators say about codehs community read write code blog news stories from codehs coding in the wild real world coding stories codehs on x posts highlights from our feed student projects explore projects built by students explore states cs resources for your state knowledge base help articles how tos career center explore careers in tech resources about privacy center case studies states testimonials codehs on x read write code blog coding in the wild knowledge base student projects career center request a quote quote log in sign up new sandbox program click on one of our programs below to get started coding in the sandbox java javascript python 3 html karel turtle view all curriculum tutorials using the python debugger python tutorial using the python debugger learn how to use the pause step python debugger on codehs by calvin studebaker just an analog guy living in a digital world debuggers are very useful tools for analyzing the execution of your program debuggers allow you to pause your program while it is running and slowly step through the code line by line to see the flow of execution you can also print out the values of each variable at each step of your program the codehs ide allows you to pause and step through your python programs by entering debug mode in your editor settings let s try out the debugger on a real program press run to start the debugger and step to start stepping through the code debugger commands the debugger provides a few options for stepping through the code step steps to the very next instruction regardless of which function the instruction is located in next skips to the next instruction in the current function next will not step into any function calls it will always go to the next command within the current function continue continues to run the program without pausing note when debugging python programs we generally want to use next anytime we are on an import statement or about to call a python library function that we didn t write ourselves in general you ll only want to use step to step into a function call for a function you personally wrote your turn try using step and next in this program start off with a next command to skip over the import statement from here try using only step to finish the program it should take 19 steps to finish every instruction now try again this time using only next to finish the program it should only take 6 nexts to finish since next does not step into any function calls printing variables while debugging your program you can use the print function to print out the values stored inside variables in your code your turn step to line 10 of this program then type print name into the debugger console to see the value of the name variable type print phonebook into the debugger console to see the value of the phonebook dictionary now step to line 14 of this program then type print i to see the value of the for loop counter breakpoints what if you want to pause your program on a specific line of code this is where breakpoints come in handy while using the debugger you can click on any line number to set a breakpoint at that line when you press run or continue the debugger will pause once it hits that line of code your turn try setting some breakpoints in the following program click on a line number to set a breakpoint at that line press run to start the program and pause at the first breakpoint you set press continue to continue to the next breakpoint note breakpoints must be put in place before you press run if you modify your breakpoints while your program is running you ll need to re run your program in order to pause at your new breakpoints curious to learn more codehs is using the industry standard built in python debugger pdb to pause and step through your python programs in this tutorial you learned about using the following pdb commands step steps to the next instruction next skips to the next instruction in the current method cont continues execution without pausing print prints out the value of a variable break set a breakpoint at a specific line of code these are the main commands you ll be using to debug python programs but you can check out all the pdb commands at your disposal by reading the pdb documentation related tutorials java using the java debugger by calvin studebaker high school python basic functions in python by ryan hart high school products all products coding lms codehs pro computer science curriculum certifications professional development ai creator typing cyber range tynker codehop plans codehs pro codehs free get a quote use cases district schools teachers cte homeschool platform assignments classroom management grading data online ide integrations ai tools academic integrity curriculum course catalog project catalog k 12 pathways ap courses elementary state courses spanish courses standards hour of code practice tutorials digital textbooks ap csa hub ai curriculum digital literacy curriculum pd online pd courses in person pd workshops virtual pd workshops free pd workshops pd cohorts teacher certification prep microcredentials pd membership programming languages new sandbox program javascript python java html c sql karel resources why computer science why cybersecurity why learn ai why digital literacy back to school checklist case studies states testimonials tweets codehs blog read write code book knowledge base customer support webinars student projects career center student alumni codehs has everything ai grading differentiation elementary assessments academic integrity online ide physical computing ap courses vibe coding yes company about team careers privacy center ai center terms privacy policy security accessibility products all products coding lms codehs pro computer science curriculum certifications professional development ai creator typing cyber range tynker codehop plans codehs pro codehs free get a quote platform assignments classroom grading data online ide integrations ai tools academic integrity pd online pd courses in person pd workshops virtual pd workshops pd cohorts teacher certification prep microcredentials resources why computer science why cybersecurity why learn ai why digital literacy back to school checklist case studies states testimonials tweets codehs blog read write code book knowledge base customer support webinars student projects career center student alumni use cases district schools teachers cte homeschool curriculum course catalog project catalog ap courses elementary state courses spanish courses standards practice tutorials digital textbooks ap csa hub programming languages new sandbox program javascript python java html c sql karel codehs has everything ai grading differentiation elementary assessments academic integrity online ide physical computing ap courses vibe coding yes company about team careers privacy center ai center terms privacy policy security accessibility codehs certified educators codehs educator facebook group codehs store
|