JP4909877B2 - デバッグ装置及びデバッグ方法 - Google Patents
デバッグ装置及びデバッグ方法 Download PDFInfo
- Publication number
- JP4909877B2 JP4909877B2 JP2007309260A JP2007309260A JP4909877B2 JP 4909877 B2 JP4909877 B2 JP 4909877B2 JP 2007309260 A JP2007309260 A JP 2007309260A JP 2007309260 A JP2007309260 A JP 2007309260A JP 4909877 B2 JP4909877 B2 JP 4909877B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- debugging
- display
- internally generated
- generated code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/3644—Debugging of software by instrumenting at runtime
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/3628—Debugging of software of optimised code
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Devices For Executing Special Programs (AREA)
Description
まず図1及び図2に基づき、本発明の一実施の形態に係るデバッグ装置の構成を説明する。図1は、本実施の形態に係るデバッグ装置が含まれるプログラム生成装置の構成を示す構成図である。
上述した実施の形態では、自動SIMD最適化により生成される内部生成コードについて説明したが、自動SIMD最適化以外の内部生成コードについて適用してもよい。
Claims (5)
- プログラムのデバッグを行うデバッグ装置であって、
前記プログラムのソースコードに対して、コンパイラの最適化に伴い生成された、所定の処理命令が記述されているデバッグ不要なコードの情報を解析する解析部と、
解析して得られた前記デバッグ不要なコードの、処理内容の情報、開始アドレス、終了アドレスを出力する出力部と、
を有することを特徴とするデバッグ装置。 - プログラムのデバッグを行うデバッグ装置であって、
前記プログラムのソースコードに対して、コンパイラの最適化に伴い生成された、所定の処理命令が記述されているデバッグ不要なコードの表示又は非表示を選択する表示選択部と、
前記デバッグ不要なコードの表示が選択された場合、前記デバッグ不要なコードの直前及び直後に前記デバッグ不要なコードの開始及び終了を示す第1の所定のメッセージを表示し、前記デバッグ不要なコードの非表示が選択された場合、前記デバッグ不要なコードを隠蔽し、前記デバッグ不要なコードが隠蔽されていることを示す第2の所定のメッセージのみを表示する表示処理部と、
を有することを特徴とするデバッグ装置。 - 前記表示処理部は、ステップ実行の際に、前記デバッグ不要なコードの非表示が選択されている場合、前記デバッグ不要なコードの終了まで実行することを特徴とする請求項2に記載のデバッグ装置。
- プログラムのデバッグを行うデバッグ方法であって、
前記プログラムのソースコードに対して、コンパイラの最適化に伴い生成された、所定の処理命令が記述されているデバッグ不要なコードの情報を解析し、
解析して得られた前記デバッグ不要なコードの、処理内容の情報、開始アドレス、終了アドレスを出力することを特徴とするデバッグ方法。 - プログラムのデバッグを行うデバッグ方法であって、
前記プログラムのソースコードに対して、コンパイラの最適化に伴い生成された、所定の処理命令が記述されているデバッグ不要なコードの表示又は非表示を選択し、
前記デバッグ不要なコードの表示が選択された場合、前記デバッグ不要なコードの直前及び直後に前記デバッグ不要なコードの開始及び終了を示す第1の所定のメッセージを表示し、前記デバッグ不要なコードの非表示が選択された場合、前記デバッグ不要なコードを隠蔽し、前記デバッグ不要なコードが隠蔽されていることを示す第2の所定のメッセージのみを表示することを特徴とするデバッグ方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007309260A JP4909877B2 (ja) | 2007-11-29 | 2007-11-29 | デバッグ装置及びデバッグ方法 |
| US12/273,934 US8370810B2 (en) | 2007-11-29 | 2008-11-19 | Debugging device and debugging method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007309260A JP4909877B2 (ja) | 2007-11-29 | 2007-11-29 | デバッグ装置及びデバッグ方法 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009134462A JP2009134462A (ja) | 2009-06-18 |
| JP4909877B2 true JP4909877B2 (ja) | 2012-04-04 |
Family
ID=40677089
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007309260A Expired - Fee Related JP4909877B2 (ja) | 2007-11-29 | 2007-11-29 | デバッグ装置及びデバッグ方法 |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US8370810B2 (ja) |
| JP (1) | JP4909877B2 (ja) |
Families Citing this family (22)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5303531B2 (ja) * | 2010-09-28 | 2013-10-02 | 株式会社日立製作所 | 組込システムの保守支援装置 |
| KR101962248B1 (ko) * | 2012-03-16 | 2019-03-27 | 삼성전자주식회사 | 재구성 가능 프로세서의 검증 지원 장치 및 방법 |
| US9111033B2 (en) | 2012-04-17 | 2015-08-18 | International Business Machines Corporation | Compiling source code for debugging with user preferred snapshot locations |
| US8881115B2 (en) | 2012-04-17 | 2014-11-04 | International Business Machines Corporation | Compiling source code for debugging with expanded snapshots |
| US8910126B2 (en) | 2012-04-18 | 2014-12-09 | International Business Machines Corporation | Compiling source code for debugging with variable value restoration based on debugging user activity |
| KR20140005526A (ko) * | 2012-07-04 | 2014-01-15 | 삼성전자주식회사 | 재구성 가능 프로세서의 소스 레벨 디버깅 장치 및 방법 |
| US8826240B1 (en) * | 2012-09-29 | 2014-09-02 | Appurify, Inc. | Application validation through object level hierarchy analysis |
| US9015832B1 (en) | 2012-10-19 | 2015-04-21 | Google Inc. | Application auditing through object level code inspection |
| US9113358B1 (en) | 2012-11-19 | 2015-08-18 | Google Inc. | Configurable network virtualization |
| US9268668B1 (en) | 2012-12-20 | 2016-02-23 | Google Inc. | System for testing markup language applications |
| US9274935B1 (en) | 2013-01-15 | 2016-03-01 | Google Inc. | Application testing system with application programming interface |
| US9021443B1 (en) | 2013-04-12 | 2015-04-28 | Google Inc. | Test automation API for host devices |
| US9268670B1 (en) | 2013-08-08 | 2016-02-23 | Google Inc. | System for module selection in software application testing including generating a test executable based on an availability of root access |
| US9367415B1 (en) | 2014-01-20 | 2016-06-14 | Google Inc. | System for testing markup language applications on a device |
| US9491229B1 (en) | 2014-01-24 | 2016-11-08 | Google Inc. | Application experience sharing system |
| US9170922B1 (en) | 2014-01-27 | 2015-10-27 | Google Inc. | Remote application debugging |
| US10111099B2 (en) | 2014-05-12 | 2018-10-23 | Microsoft Technology Licensing, Llc | Distributing content in managed wireless distribution networks |
| US9874914B2 (en) | 2014-05-19 | 2018-01-23 | Microsoft Technology Licensing, Llc | Power management contracts for accessory devices |
| US9703681B2 (en) * | 2014-05-29 | 2017-07-11 | Microsoft Technology Licensing, Llc | Performance optimization tip presentation during debugging |
| US9717006B2 (en) | 2014-06-23 | 2017-07-25 | Microsoft Technology Licensing, Llc | Device quarantine in a wireless network |
| US9864655B2 (en) | 2015-10-30 | 2018-01-09 | Google Llc | Methods and apparatus for mobile computing device security in testing facilities |
| US10095603B2 (en) | 2017-01-09 | 2018-10-09 | International Business Machines Corporation | Pre-fetching disassembly code for remote software debugging |
Family Cites Families (22)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03107151A (ja) | 1989-09-21 | 1991-05-07 | Fuji Photo Film Co Ltd | 画像形成装置 |
| JPH04106633A (ja) * | 1990-08-27 | 1992-04-08 | Nec Corp | 逆アセンブル方式 |
| JPH0863369A (ja) * | 1994-08-24 | 1996-03-08 | Toshiba Corp | 最適化情報出力方式 |
| JP3606654B2 (ja) * | 1995-10-30 | 2005-01-05 | 富士通株式会社 | コンパイラ装置 |
| JP3107151B2 (ja) | 1997-04-14 | 2000-11-06 | 日本電気株式会社 | 最適化コードデバッグ方式 |
| JP2001060161A (ja) * | 1999-08-24 | 2001-03-06 | Nec Ic Microcomput Syst Ltd | デバッグ装置、方法及び記録媒体 |
| JP2001134462A (ja) * | 1999-11-08 | 2001-05-18 | Matsushita Electric Ind Co Ltd | プログラムデバッグ装置 |
| JP2002288004A (ja) * | 2001-03-27 | 2002-10-04 | Canon Inc | プログラムソース処理装置、プログラムソース処理方法、およびプログラムソース処理プログラム |
| JP3612294B2 (ja) * | 2001-08-06 | 2005-01-19 | 松下電器産業株式会社 | デバッグ方法およびデバッグ装置 |
| US7506313B2 (en) * | 2002-03-04 | 2009-03-17 | International Business Machines Corporation | Debug of code with selective display of data |
| US6961924B2 (en) * | 2002-05-21 | 2005-11-01 | International Business Machines Corporation | Displaying variable usage while debugging |
| US6964036B2 (en) * | 2002-05-21 | 2005-11-08 | International Business Machines Corporation | Descriptive variables while debugging |
| US20040003383A1 (en) * | 2002-06-28 | 2004-01-01 | Microsoft Corporation | Stripping of unnecessary information from source code |
| US20040030963A1 (en) * | 2002-08-12 | 2004-02-12 | Sun Microsystems, Inc., A Delaware Corporation | Method and apparatus for debugging computer program |
| US7231633B2 (en) * | 2003-07-15 | 2007-06-12 | Lsi Corporation | Debugging with set verbosity level during read and analysis of executable code and associated comments while logging according to set verbosity level |
| US7328426B2 (en) * | 2003-08-13 | 2008-02-05 | International Business Machines Corporation | Editor with commands for automatically disabling and enabling program code portions |
| JP4106633B2 (ja) | 2004-02-18 | 2008-06-25 | 日本電気株式会社 | 情報処理システム及び情報処理方法 |
| US7475392B2 (en) * | 2004-06-07 | 2009-01-06 | International Business Machines Corporation | SIMD code generation for loops with mixed data lengths |
| US7644397B2 (en) * | 2004-06-19 | 2010-01-05 | Apple Inc. | Software performance analysis using data mining |
| WO2006084357A1 (en) * | 2005-02-10 | 2006-08-17 | Tira Wireless Inc. | Outputting debug messages for applications intended for mobile devices |
| US20070078538A1 (en) * | 2005-09-30 | 2007-04-05 | Omron Corporation | Debug device |
| JP2008269529A (ja) * | 2007-04-25 | 2008-11-06 | Toshiba Corp | デバッグ支援装置 |
-
2007
- 2007-11-29 JP JP2007309260A patent/JP4909877B2/ja not_active Expired - Fee Related
-
2008
- 2008-11-19 US US12/273,934 patent/US8370810B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| US8370810B2 (en) | 2013-02-05 |
| JP2009134462A (ja) | 2009-06-18 |
| US20090144705A1 (en) | 2009-06-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4909877B2 (ja) | デバッグ装置及びデバッグ方法 | |
| US7266809B2 (en) | Software debugger and software development support system for microcomputer operable to execute conditional execution instruction | |
| CN102279789B (zh) | 生产阶段嵌入式系统的调试系统及其调试方法 | |
| CN104756086B (zh) | 用于调试依领域而定的语言的系统和方法 | |
| EP3338179B1 (en) | Graphical representation of data in a program code editor | |
| JP4822817B2 (ja) | コンパイルシステム | |
| JPH11194957A (ja) | デバッグ支援装置、並列実行情報生成装置、及びこれらに適用されるプログラムを記録した記録媒体 | |
| CN101414278B (zh) | 基于动态反编译技术的二进制应用程序调试方法 | |
| US9489286B2 (en) | Method and system for computer assisted hot-tracing mechanism | |
| CN104063258A (zh) | 用于调试过程中的代码动态切换的方法和系统 | |
| US20080209401A1 (en) | Techniques for integrating debugging with decompilation | |
| JP4718901B2 (ja) | 命令実行装置、デバッグ方法、デバッグ装置及びデバッグプログラム | |
| JP2008276735A (ja) | プログラムコード変換装置及びプログラムコード変換方法 | |
| CN110554861B (zh) | 具有编译和读取-评估-打印-循环操作的软件开发环境 | |
| US20090013313A1 (en) | Debug device, debug method, and program | |
| JP2008269529A (ja) | デバッグ支援装置 | |
| JP2004133630A (ja) | プログラム作成方法、プログラム変換装置、プログラム及び記憶媒体 | |
| JP4594704B2 (ja) | プログラム開発支援システム、プログラムおよび記録媒体 | |
| JP2011090511A (ja) | 実行プログラム、コンパイラ、実行プログラム動作修正装置及び実行プログラム動作修正方法 | |
| JP7163879B2 (ja) | データフロー生成装置、その方法、およびそのプログラム | |
| JP2007034825A (ja) | デバッグ装置 | |
| JP2004078268A (ja) | 情報処理装置、情報処理方法、およびプログラム | |
| JPH05108372A (ja) | コンパイラ最適化処理内容の出力方式 | |
| JP2010039785A (ja) | コンパイラ及びコンパイル方法 | |
| JP2010049474A (ja) | プログラム開発支援システムおよびプログラム開発支援方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100216 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110420 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110517 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111220 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120116 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150120 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150120 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |