{"id":616,"date":"2012-03-18T21:40:05","date_gmt":"2012-03-18T21:40:05","guid":{"rendered":"http:\/\/blogs.kent.ac.uk\/mik\/?p=616"},"modified":"2020-05-15T15:46:56","modified_gmt":"2020-05-15T15:46:56","slug":"joc-tc-22","status":"publish","type":"post","link":"https:\/\/blogs.kcl.ac.uk\/proged\/2012\/03\/18\/joc-tc-22\/","title":{"rendered":"JoC, Teacher Commentary 22: Tracing control flow"},"content":{"rendered":"<p><em>\u00a0 \u00a0 \u00a0 Mathematicians are like Frenchmen: whatever you say to them they translate<\/em><br \/>\n<em>\u00a0 \u00a0 \u00a0 into their own language and forthwith it is something entirely different.<\/em><br \/>\n<em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u2014 Goethe, Maximen und Reflexionen<\/em><\/p>\n<p>Tracing control flow (either through control structures, such as if-statements or loops) or through method calls, is hard for beginners.<\/p>\n<p>This episode shows you how to use the debugger to make this clearer.<\/p>\n<p><iframe loading=\"lazy\" title=\"JoC - Teacher Commentary #22: Tracing control flow\" width=\"584\" height=\"329\" src=\"https:\/\/www.youtube.com\/embed\/Vf_VU2cdnR4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p style=\"text-align: right\"><a href=\"http:\/\/www.greenfoot.org\/static\/joc\/mov\/JOC-TC22.mov\">Download video<\/a><\/p>\n<p><strong>Concepts discussed<\/strong>:\u00a0<em>control flow, tracing, breakpoints, debugger<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 \u00a0 Mathematicians are like Frenchmen: whatever you say to them they translate \u00a0 \u00a0 \u00a0 into their own language and forthwith it is something entirely different. \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u2014 Goethe, Maximen und Reflexionen Tracing &hellip; <a href=\"https:\/\/blogs.kcl.ac.uk\/proged\/2012\/03\/18\/joc-tc-22\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":179,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,6],"tags":[40,106],"class_list":["post-616","post","type-post","status-publish","format-standard","hentry","category-greenfoot-software-tools","category-joy-of-code","tag-debugging","tag-teacher-commentary"],"_links":{"self":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/users\/179"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/comments?post=616"}],"version-history":[{"count":1,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/616\/revisions"}],"predecessor-version":[{"id":1089,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/616\/revisions\/1089"}],"wp:attachment":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/media?parent=616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/categories?post=616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/tags?post=616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}