. IDE JIVE[1][] Eclipse Java ( 1) Java Platform Debugger Architecture [5] 3. Eclipse GUI JIVE 3.1 Eclipse ( ) 1 JIVE Java [3] IDE c 016 Information Pr

Similar documents
IPSJ SIG Technical Report Vol.2013-CE-119 No /3/15 enpoly enpoly enpoly 1) 2) 2 C Java Bertrand Meyer [1] 1 1 if person greeting()


ソフトウェアエンジニアリングシンポジウム 2016 IPSJ/SIGSE Software Engineering Symposium (SES2016) Java におけるオブジェクト中心のデバッガ 1 山﨑翔 2 久保田吉彦 2 紫合治 概要 : プログラム開発に統合開発環境 ( 以下,IDE)

3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello World");

JAVA とテンプレート

PowerPoint Presentation

目 次 Java GUI 3 1 概要 クラス構成 ソースコード例 課題...7 i

,,,,., C Java,,.,,.,., ,,.,, i

, : GUI Web Java 2.1 GUI GUI GUI 2 y = x y = x y = x

K227 Java 2


10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

IPSJ SIG Technical Report Secret Tap Secret Tap Secret Flick 1 An Examination of Icon-based User Authentication Method Using Flick Input for

Java - Visual Editor

Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac

1_26.dvi

Microsoft Word - jpluginmanual.doc

ALG ppt

untitled

2 static final int DO NOTHING ON CLOSE static final int HIDE ON CLOSE static final int DISPOSE ON CLOSE static final int EXIT ON CLOSE void setvisible

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

: : : TSTank 2

17 Proposal of an Algorithm of Image Extraction and Research on Improvement of a Man-machine Interface of Food Intake Measuring System

1 Web [2] Web [3] [4] [5], [6] [7] [8] S.W. [9] 3. MeetingShelf Web MeetingShelf MeetingShelf (1) (2) (3) (4) (5) Web MeetingShelf

オブジェクト脳のつくり方

Thread

1 Java Java GUI , 2 2 jlabel1 jlabel2 jlabel3 jtextfield1 jtextfield2 jtextfield3 jbutton1 jtextfield1 jtextfield2 jtextfield3

IPSJ SIG Technical Report Vol.2012-CG-148 No /8/29 3DCG 1,a) On rigid body animation taking into account the 3D computer graphics came

Java (7) Lesson = (1) 1 m 3 /s m 2 5 m 2 4 m 2 1 m 3 m 1 m 0.5 m 3 /ms 0.3 m 3 /ms 0.6 m 3 /ms 1 1 3

226

新・明解Java入門

fiš„v8.dvi

シミュレーションの簡単な例 GUI 無しのシミュレーションを作る GUI を作る パラメタを設定するデモンストレーションをする 2 オブジェクト指向プログラミング特論

& Vol.5 No (Oct. 2015) TV 1,2,a) , Augmented TV TV AR Augmented Reality 3DCG TV Estimation of TV Screen Position and Ro

DPA,, ShareLog 3) 4) 2.2 Strino Strino STRain-based user Interface with tacticle of elastic Natural ObjectsStrino 1 Strino ) PC Log-Log (2007 6)

1 1 CodeDrummer CodeMusician CodeDrummer Fig. 1 Overview of proposal system c

Java (5) 1 Lesson 3: x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java , 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flow

CX-Checker CX-Checker (1)XPath (2)DOM (3) 3 XPath CX-Checker. MISRA-C 62%(79/127) SQMlint 76%(13/17) XPath CX-Checker 3. CX-Checker 4., MISRA-C CX- Ch

グラフを表すデータ構造 Javaでの実装

目的 泡立ち法を例に Comparableインターフェイスの実装 抽象クラスの利用 型パラメタの利用 比較 入替 の回数を計測

文字列操作と正規表現

BASIC / / BA- SIC Web 1/10 1/10 / / JavaScript

Vol.55 No (Jan. 2014) saccess 6 saccess 7 saccess 2. [3] p.33 * B (A) (B) (C) (D) (E) (F) *1 [3], [4] Web PDF a m

2006 [3] Scratch Squeak PEN [4] PenFlowchart 2 3 PenFlowchart 4 PenFlowchart PEN xdncl PEN [5] PEN xdncl DNCL 1 1 [6] 1 PEN Fig. 1 The PEN

Java演習(4) -- 変数と型 --

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2;

やさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF

解答上の注意 1 解答は 解答 紙の問題番号に対応した解答欄にマークしなさい 2 選択肢は 問ごとに 意されています 問 1の選択肢は 問 2で使 しません 3 選択肢は量が多いため 探しやすさの観点よりグループ分けされています グループ分けに合わせて解答欄が区切られていますが 横 1 列で問題 1

(Eclipse\202\305\212w\202\324Java2\215\374.pdf)

B HNS 7)8) HNS ( ( ) 7)8) (SOA) HNS HNS 4) HNS ( ) ( ) 1 TV power, channel, volume power true( ON) false( OFF) boolean channel volume int

B 10 : N ip2003f10.tex B : 9/12/ :02 p.1/71

Microsoft PowerPoint ppt

ディスプレイと携帯端末間の通信を実現する映像媒介通信技術

今回の内容 グラフとオブジェクト指向プログラミング Java を使う理由 Java の基本 Javaのライブラリ 開発 実行 クラスの再利用 クラス継承 抽象クラス 開発の要点

text_12.dvi

ALG ppt

ALG2012-C.ppt

Vol. 48 No. 4 Apr LAN TCP/IP LAN TCP/IP 1 PC TCP/IP 1 PC User-mode Linux 12 Development of a System to Visualize Computer Network Behavior for L

IPSJ SIG Technical Report Vol.2014-CG-155 No /6/28 1,a) 1,2,3 1 3,4 CG An Interpolation Method of Different Flow Fields using Polar Inter

自然言語処理16_2_45

public class Kadai _02 { public static void main(string[] args) { MyFrame frame = new MyFrame("Kadai _02"); (2) フレームのクラス名は MyFrame とし 以下

10K pdf

MDD PBL ET 9) 2) ET ET 2.2 2), 1 2 5) MDD PBL PBL MDD MDD MDD 10) MDD Executable UML 11) Executable UML MDD Executable UML

60 90% ICT ICT [7] [8] [9] 2. SNS [5] URL 1 A., B., C., D. Fig. 1 An interaction using Channel-Oriented Interface. SNS SNS SNS SNS [6] 3. Processing S

Lytro [11] The Franken Camera [12] 2.2 Creative Coding Community Creative Coding Community [13]-[19] Sketch Fork 2.3 [20]-[23] 3. ourcam 3.1 ou

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value =

IPSJ SIG Technical Report Vol.2011-MUS-91 No /7/ , 3 1 Design and Implementation on a System for Learning Songs by Presenting Musical St

& Vol.2 No (Mar. 2012) 1,a) , Bluetooth A Health Management Service by Cell Phones and Its Us

ユニット・テストの概要

Windows7 OS Focus Follows Click, FFC FFC focus follows mouse, FFM Windows Macintosh FFC n n n n ms n n 4.2 2

IPSJ SIG Technical Report Vol.2011-EC-19 No /3/ ,.,., Peg-Scope Viewer,,.,,,,. Utilization of Watching Logs for Support of Multi-

VB.NETコーディング標準

スライド 1


Safari AppletViewer Web HTML Netscape Web Web 15-1 Applet Web Applet init Web paint Web start Web HTML stop destroy update init Web paint start Web up

ipod touch 1 2 Apple ipod touch ipod touch 3 ( ) ipod touch ( 1 ) Apple ( 2 ) Web 1),2) 3. ipod touch 1 2 ipod touch x y z i

Microsoft Word - keisankigairon.ch doc

/ ( ) 8/7/ :21 p.2/64

知能と情報, Vol.30, No.5, pp

CAC

Prog2_11th

6 p.1 6 Java GUI GUI paintcomponent GUI mouseclicked, keypressed, actionperformed mouseclicked paintcomponent thread, 1 GUI 6.0.2, mutlithread C

DEIM Forum 2009 B4-6, Str

Vol.6 No (Aug. 2013) 1,a) 2,b) 2,c) , Java Java Java Java Inner Method for Code Reuse in Fine-grained and Its Effective Im

IPSJ SIG Technical Report Vol.2010-GN-74 No /1/ , 3 Disaster Training Supporting System Based on Electronic Triage HIROAKI KOJIMA, 1 KU

oop1

r1.dvi

I java A

IPSJ SIG Technical Report Vol.2009-HCI-134 No /7/17 1. RDB Wiki Wiki RDB SQL Wiki Wiki RDB Wiki RDB Wiki A Wiki System Enhanced by Visibl

tkk0408nari

IPSJ SIG Technical Report Vol.2010-NL-199 No /11/ treebank ( ) KWIC /MeCab / Morphological and Dependency Structure Annotated Corp

IT,, i

6-1

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value =

( ) p.1 x y y = ( x ) 1 γ γ = filtergamma.java import java.applet.*; public class filtergamma extends Applet{ Image img; Image new_img; publi

Programming-C-9.key

ALG2012-A.ppt

IPSJ SIG Technical Report Vol.2014-HCI-158 No /5/22 1,a) 2 2 3,b) Development of visualization technique expressing rainfall changing conditions

......() JButton

Transcription:

Eclipse 1,a) 1,b) 1,c) ( IDE) IDE Graphical User Interface( GUI) GUI GUI IDE View Eclipse Development of Eclipse Plug-in to present an Object Diagram to Debug Environment Kubota Yoshihiko 1,a) Yamazaki Sho 1,b) Shigo Osamu 1,c) Abstract: In Eclipse Debug Environment, it is difficult that a user understand relationships between objects. The debug environment has Variables View that is hierarchical structure. The user must expand it manually for confirming variable s value. By using object diagram, the user can easily understand relationships between objects. In this paper, we propose to use object diagram in the debug environment. When a program execution is stopped at a breakpoint, our plug-in presents its object diagram. Keywords: Debug Environment, Object Diagram, Eclipse Plug-in 1. IDE GUI 1 Tokyo Denki University, Inzai, Chiba 70 138, Japan a) y.kubota@mail.dendai.ac.jp b) 15jkm@ms.dendai.ac.jp c) shigo@mail.dendai.ac.jp Eclipse Eclipse c 016 Information Processing Society of Japan 1

. IDE JIVE[1][] Eclipse Java ( 1) Java Platform Debugger Architecture [5] 3. Eclipse GUI JIVE 3.1 Eclipse ( ) 1 JIVE Java [3] IDE c 016 Information Processing Society of Japan

3. UML ( 3) id : id Eclipse id ObjectReference.uniqueId() : = id id HashMap ( 5 ) id id 4. 3 Main.java( 4) Class1.java( 5) Class.java( 6) Class1 Class value Class int String value name Main( 4) 6 7 3 1 package sample; 3 public class Main { 4 public static void main(string[] args) { 5 Class1 c1 = new Class1(new Class(1, "c1")); 6 Class1 c = new Class1(new Class(, "c")); 7 } 8 } 4. 4 Main.java 4.1 Eclipse Java Java Development Tools( JDT) JDIDebugTarget ( 1 ) ( ) Java ( 3 ) JDI ReferenceType instances(0) id HashMap ( 4 ) JDI ObjectReference referringobjects(0) 1 package sample; 3 public class Class1 { 4 private Class value; 5 public Class1(Class value){ 6 this.value = value; 7 } 8 public Class getvalue(){ 9 return this.value; 10 } 11 } 5 Class1.java c 016 Information Processing Society of Japan 3

1 package sample; 3 public class Class { 4 int value; 5 String name; 6 public Class(int value, String name){ 7 this.value = value; 8 this.name = name; 9 } 10 public int getvalue(){ 11 return this.value; 1 } 13 public String getname(){ 14 return this.name; 15 } 16 } 6 Class.java Variables View c1 (id=434) value Class (id=435) value Class GUI 7 Variables View GUI 8 JIVE Variables View Eclipse Variables View id 435 value 999 ( 9) / ( 14) 7 9 8 7 Eclipse 4.3 ArrayList JIVE ArrayList Visitor [4] JIVE 10 c 016 Information Processing Society of Japan 4

10 11 JIVE Directory ArrayList ArrayList Directory File 11 JIVE JIVE c 016 Information Processing Society of Japan 5

11 Stacked with Tables Directory 5 File File Directory 5. JDI JIVE ( 1 ) ( ) GUI Mac Book Pro 15,Intel Core i7.8ghz 16G JDK 1.8.0 73 5.1 JIVE ( 1) (N ) 1 14 5 ( 1) JIVE 1.1 1.5 JIVE 10000 15000 JIVE JIVE 1 package benchmark; 3 import java.util.arraylist; 4 import java.util.list; 5 6 public class Main { 7 8 public static void main(string[] args) { 9 List<Main> list = new ArrayList<>(); 10 Long start = System.nanoTime(); 11 for(int i=0; i<n;i++) 1 list.add(new Main()); 13 System.out.println(System.nanoTime() start); 14 System.out.println("end"); 15 } 16 } 1 1 N (ms) JIVE(ms) (ms) 100 0.07 703.07 0.10 00 0.11 1498.73 0.17 + 1 500 0.5 396.14 0.30 + 3 1000 0.47 6837.75 0.5 + 10 JFrame,JPanel,JButton 1 ( 15) 17 5.7ms 3.1ms ( 14) JIVE 1 5. GUI GUI 13 13 GUI c 016 Information Processing Society of Japan 6

14 GUI 1 package button; 3 import javax.swing.jbutton; 4 import javax.swing.jframe; 5 import javax.swing.jpanel; 6 7 public class ButtonFrame extends JFrame{ 8 public ButtonFrame(){ 9 this.settitle("button1"); 10 this.setsize(00, 100); 11 this.setdefaultcloseoperation( 1 JFrame.EXIT ON CLOSE); 13 JPanel panel = new JPanel(); 14 JButton button = new JButton(" "); 15 panel.add(button); 16 this.getcontentpane().add(panel); 17 this.setvisible(true); 18 } 19 0 public static void main(string[] args){ 1 new ButtonFrame(); } 3 } 15 GUI 6. Eclipse JIVE ArrayList JIVE JIVE JIVE Java JDI c 016 Information Processing Society of Japan 7

VirtualMachine.canGetInstanceInfo() true, ReferenceType.instances(long) ObjectReference.referringObjects(long) Java [1] Czyz, Jeffrey K., and Bharat Jayaraman. Declarative and visual debugging in eclipse. Proceedings of the 007 OOPSLA workshop on eclipse technology exchange. ACM, 007. [] JIVE: Java Interactive Visualization Environment http://www.cse.buffalo.edu/jive/ [3],, and.. 015 015 (015): 19-136. [4]. Java. SB, 004. [5] Alsallakh, Bilal, et al. Visual tracing for the eclipse java debugger. Software Maintenance and Reengineering (CSMR), 01 16th European Conference on. IEEE, 01. c 016 Information Processing Society of Japan 8