1 / 7

CS314 - Bonus Topics

CS314 - Bonus Topics. Debugging. Q: How is debugging like real estate? A: It's all about location, location, location Setting breakpoints in Eclipse Using the Debugger Inspecting Objects System.out.println. Profiling.

unity
Download Presentation

CS314 - Bonus Topics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS314 - Bonus Topics

  2. Debugging Q: How is debugging like real estate? A: It's all about location, location, location Setting breakpoints in Eclipse Using the Debugger Inspecting Objects System.out.println

  3. Profiling • Program that monitors a running program and determines time spent in functions as well as memory usage

  4. Profiling Example • Random Art • Determine color of pixel based on coordinates and mathematical formula • formula may have 40 or more calculations per point

  5. Random Art

  6. Random Art

  7. Java VisualVM • Comes with the JDK • in the bin folder (binaries)

More Related