1 / 11

Graduate School of Information Science and Technology Osaka University, Japan

Repeatedly-Executed-Method Viewer for Efficient Visualization of Execution Paths and States in Java. Toshinori Matsumura , Takashi Ishio Yu Kashima, Katsuro Inoue. Graduate School of Information Science and Technology Osaka University, Japan. Tool overview.

walker
Download Presentation

Graduate School of Information Science and Technology Osaka University, Japan

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. Repeatedly-Executed-Method Viewer for EfficientVisualization of Execution Paths and States in Java Toshinori Matsumura, TakashiIshio Yu Kashima, Katsuro Inoue Graduate School of Information Science and Technology Osaka University, Japan

  2. Tool overview • REMViewer is a kind of Capture and Replay tool • Record an execution of a Java program • Visualize multiple executions of a selected Java method

  3. Usual debugger • A usual debugger shows only a single point of execution at a time.

  4. REMViewer • REMViewer shows each execution path of a method in a separated view. • Developers can compare executions and states of local variables.

  5. Usage program P program P’ Bytecode Instrumentation Tool Execute P’ on a JVM Select a method Execution trace REMViewer

  6. View Line coverage Execution path

  7. View Cursor State of local variables at the cursor

  8. View Select a line All the states of local variables at the selected line

  9. Example method (GCD) • Test cases • gcd(3,3) • gcd(6,-2) • gcd(5,5) • gcd(2,6) • gcd(10,7) public static intgcd(inta,int b){ if(a < 1 || b < 1){ return 0; } intd = b; intr = a % b; while(r > 0){ intn = d; d = r; r = n % d; } return d; }

  10. Tool demonstration

  11. Conclusion • Featuresof the tool • Views for multiple executions • Classification of executions • Step next/back in a view • Step next/back in all views • Application • Debugging • Understanding existing test cases

More Related