cs314 - bonus topics
Post on 17-Feb-2016
24 Views
Preview:
DESCRIPTION
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. - PowerPoint PPT Presentation
TRANSCRIPT
CS314 - Bonus Topics
CS314 - Bonus TopicsDebuggingQ: How is debugging like real estate?A: It's all about location, location, locationSetting breakpoints in EclipseUsing the DebuggerInspecting ObjectsSystem.out.printlnProfilingProgram that monitors a running program and determines time spent in functions as well as memory usage
Profiling ExampleRandom ArtDetermine color of pixel based on coordinates and mathematical formulaformula may have 40 or more calculations per point
Random Art
Random Art
Java VisualVMComes with the JDKin the bin folder (binaries)
top related