cse410 aka cse306 software quality
play

CSE410 aka CSE306 Software Quality Dr. Carl Alphonce - PowerPoint PPT Presentation

CSE410 aka CSE306 Software Quality Dr. Carl Alphonce alphonce@buffalo.edu 343 Davis Hall http:/ /www.cse.buffalo.edu/faculty/alphonce/SP17 /CSE410 https:/ /piazza.com/class/iybn33z3aro2p Grading status Grading In Grading Not yet


  1. CSE410 aka CSE306 Software Quality Dr. Carl Alphonce alphonce@buffalo.edu 343 Davis Hall http:/ /www.cse.buffalo.edu/faculty/alphonce/SP17 /CSE410 https:/ /piazza.com/class/iybn33z3aro2p

  2. Grading status Grading In Grading Not yet Progress Completed submitted: Coming Up PRE LEX01 EXP1 LEX02 LEX06 LEX03 EXP2 Grading On Deck LEX04 LEX05

  3. Advice Study rubric used for PRE and EXP1 Work to score 'PROFICIENT' on all items in preparation for Lab Practical Exam

  4. EXP2: I am engineering bugs into code. EXP3: May take advantage of your submitted CSE250 projects. EXP4 (if we do it): May return to an open source project.

  5. Tool Review C focus compiler gdb CUnit gcov gprof / valgrind: callgrind valgrind: memcheck git make

  6. Tools for Java?

  7. A tale of three debuggers jdb Eclipse debugger Jive

  8. jdb % javac -g ex1/Driver.java % jdb ex1.Driver 8

  9. > run run ex1.Driver 8 Set uncaught java.lang.Throwable Set deferred uncaught java.lang.Throwable > VM Started: Set deferred breakpoint ex1.Driver.factorial 0: 8 Breakpoint hit: "thread=main", ex1.Driver.factorial(), line=11 bci=0 11 int result = 1; main[1] locals Method arguments: n = 8 Local variables:

  10. main[1] list 7 8 public class Driver { 9 10 private static int factorial(int n) { 11 => int result = 1; 12 if (n==0) { 13 return result; 14 } 15 result = factorial(n-1) * n; 16 return result; main[1] stop Breakpoints set: breakpoint ex1.Driver.factorial main[1] step > Step completed: "thread=main", ex1.Driver.factorial(), line=12 bci=2 12 if (n==0) { main[1] locals Method arguments: n = 8 Local variables: result = 1

  11. http:/ /docs.oracle.com/javase/7 /docs/ technotes/tools/share/jvisualvm.html https:/ /wiki.openjdk.java.net/display/ CodeTools/jcov

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend