110 likes | 292 Views
ecs30 Winter 2012: Programming and Problem Solving # 20 : GDB, Flex/Bison, Structure , JSON. Prof . S. Felix Wu Computer Science Department University of California, Davis http://dsl.ucdavis.edu/~wu/ecs30/. GDB, GNU Debugger.
E N D
ecs30 Winter 2012:Programming and Problem Solving#20: GDB, Flex/Bison, Structure, JSON Prof . S. Felix Wu Computer Science Department University of California, Davis http://dsl.ucdavis.edu/~wu/ecs30/ ecs30 Winter 2012 Lecture #20
GDB, GNU Debugger • An interactive approach to debug the logical errors in our programs • “-g” flag • Various commands • Run, break, next/step, print/display ecs30 Winter 2012 Lecture #20
script • Recording what you are doing into a file ecs30 Winter 2012 Lecture #20
{"id":"204722549606084_262650593813279","from":{"name":"Corey Hobbs","id":"100001896707606"},"to\ ":{"data":[{"version":1,"name":"ecs30 Programming and Problem Solving","id":"204722549606084"}]}\ ,"message":"Just some ECS30 humor to lighten your Day! :)","picture":"http:\/\/photos-a.ak.fbcdn\ .net\/hphotos-ak-snc7\/429242_281418948597993_100001896707606_668040_1257901773_s.jpg","link":"h\ ttp:\/\/www.facebook.com\/photo.php?fbid=281418948597993&set=o.204722549606084&type=1","icon":"h\ ttp:\/\/static.ak.fbcdn.net\/rsrc.php\/v1\/yz\/r\/StEh3RhPvjk.gif","actions":[{"name":"Comment",\ "link":"http:\/\/www.facebook.com\/204722549606084\/posts\/262650593813279"},{"name":"Like","lin\ k":"http:\/\/www.facebook.com\/204722549606084\/posts\/262650593813279"}],"type":"photo","object\ _id":"281418948597993","created_time":"2012-03-02T16:37:27+0000","updated_time":"2012-03-02T16:4\ 5:18+0000","likes":{"data":[{"name":"Peter D. Lai","id":"633444184"}],"count":2},"comments":{"da\ ta":[{"id":"204722549606084_262650593813279_262652393813099","from":{"name":"Matt Song","id":"76\ 7960581"},"message":"Already made a meme :D\nhttps:\/\/fbcdn-sphotos-a.akamaihd.net\/hphotos-ak-\ snc7\/s720x720\/418154_10151339744545582_767960581_22979633_746789299_n.jpg","created_time":"201\ 2-03-02T16:41:17+0000","likes":2},{"id":"204722549606084_262650593813279_262654177146254","from"\ :{"name":"Corey Hobbs","id":"100001896707606"},"message":"-___-","created_time":"2012-03-02T16:4\ 5:15+0000"},{"id":"204722549606084_262650593813279_262654200479585","from":{"name":"Corey Hobbs"\ ,"id":"100001896707606"},"message":"i saw... lol","created_time":"2012-03-02T16:45:18+0000"}],"c\ ount":3},"is_published":true} ecs30 Winter 2012 Lecture #20
Object ecs30 Winter 2012 Lecture #20
Array ecs30 Winter 2012 Lecture #20
STRING ecs30 Winter 2012 Lecture #20
Value ecs30 Winter 2012 Lecture #20
Number ecs30 Winter 2012 Lecture #20
FLEX/BISON ecs30 Winter 2012 Lecture #20