TWM273772U - Two-dimensional debugging device for computer programming language - Google Patents

Two-dimensional debugging device for computer programming language Download PDF

Info

Publication number
TWM273772U
TWM273772U TW93221336U TW93221336U TWM273772U TW M273772 U TWM273772 U TW M273772U TW 93221336 U TW93221336 U TW 93221336U TW 93221336 U TW93221336 U TW 93221336U TW M273772 U TWM273772 U TW M273772U
Authority
TW
Taiwan
Prior art keywords
source code
debugging
display
dimensional plane
scope
Prior art date
Application number
TW93221336U
Other languages
Chinese (zh)
Inventor
Chung-Rung Liau
Original Assignee
Elan Microelectronics Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Elan Microelectronics Corp filed Critical Elan Microelectronics Corp
Priority to TW93221336U priority Critical patent/TWM273772U/en
Publication of TWM273772U publication Critical patent/TWM273772U/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

M273772 四、創作說明(1) 【新型所屬之技術領域】 本創作係關於一種用於電腦程式語言的除錯裝置,特 別係關於一種用於電腦程式語言的二維平面除錯裝置。 【先前技術】 第一圖顯示傳統除錯系統對原始碼執行除錯的畫面, 由於傳統程式的寫法都是以行(Line)為基礎,所採由上往 下的寫作風格,因此傳統除錯系統也是以行作為除錯的基 本單位,如第一圖所顯示。但對於像E Z這種語音控制的程 式語言來說,他的程式外貌風格不但是由上而下而且是由 左至右的寫法,如果為了搭配傳統除錯系統而硬拆成多行 式的寫法,使用者會面臨開發的困擾,此即為傳統除錯系 統的主要缺失所在。 本創作的創作人有鑑於上述習知缺失,乃亟思改良而 創作出一種搭配程式語言的特性,將除錯的範圍由單行擴 展至平面二維除錯裝置。 【新型内容】 本創作的目的係提供一種用於電腦程式語言的二維平 面除錯裝置,乃提供一種能夠搭配程式語言的特性,且將 除錯的範圍由單行擴展至平面二維除錯,以達到除錯時的 便利性。 為達成本創作上述目的,本創作提供一種用於電腦程 式語言的二維平面除錯裝置乃包括:二維平面除錯程式係M273772 IV. Creation Instructions (1) [Technical Field to which the New Type belongs] This creation relates to a debugging device for computer programming languages, and particularly to a two-dimensional planar debugging device for computer programming languages. [Prior art] The first picture shows the traditional debugging system to debug the source code. Because the traditional programs are written based on the line, the top-down writing style is adopted, so the traditional debugging The system also uses rows as the basic unit for debugging, as shown in the first figure. But for a voice-controlled programming language like EZ, his programming appearance style is not only top-down but also left-to-right. If it is hard-decomposed into a multi-line type to match the traditional debugging system, , Users will face development difficulties, which is the main deficiency of traditional debugging systems. In view of the lack of the above-mentioned knowledge, the creators of this creation are eager to improve and create a feature of programming language that extends the scope of debugging from a single line to a flat two-dimensional debugging device. [New content] The purpose of this creation is to provide a two-dimensional planar debugging device for computer programming languages. It is to provide a feature that can be used with programming languages and expand the scope of debugging from a single line to planar two-dimensional debugging. To achieve the convenience of debugging. In order to achieve the above-mentioned purpose of creation, this creation provides a two-dimensional plane debugging device for a computer programming language, which includes: a two-dimensional plane debugging program system

M273772 四、創作說明(2) 能夠以原始碼型態的單一指令來作為除錯基本單位,以及 係能夠容許原始碼以單行來包括至少一個以上的單一指 令;主記憶體,係儲存二維平面除錯程式;顯示器;處理 器係經由匯流排連接主記憶體與顯示器,以及執行位於主 記憶體的二維平面除錯程式,並對顯示器輸出除錯狀態與 原始碼被執行後的執行狀態;其中顯示器的第一視窗顯示 的原始碼,係由不同的顯示屬性來顯示出來,而使原始碼 的每一個單一指令表現出除錯狀態,以及顯示器的至少一 個以上的第二視窗來顯示原始碼被執行後的執行狀態。M273772 4. Creation instructions (2) A single instruction in the form of source code can be used as the basic unit for debugging, and the source code can be included in a single line to include at least one single instruction; the main memory is used to store a two-dimensional plane Debug program; display; processor is connected to the main memory and the display via the bus, and executes the two-dimensional plane debug program located in the main memory, and outputs the debug status and the execution status after the source code is executed to the display; The source code displayed in the first window of the display is displayed by different display attributes, so that each single instruction of the source code displays a debugging state, and at least one second window of the display displays the source code. The execution status after being executed.

為使熟悉該項技藝人士瞭解本創作之目的、特徵及功 效,茲藉由下述具體實施例,並配合所附之圖式,對本創 作詳加說明如后。 【實施方式】 第二圖顯示本創作用於電腦程式語言的二維平面除錯 裝置的架構圖,以及第三圖顯示實現本創作於執行除錯 時,在顯示器的輸出畫面。本創作用於電腦程式語言的二 維平面除錯裝置10主要包括有:二維平面除錯程式101 、 主記憶體1 0 3、處理器1 0 5、顯示器1 0 7 ,現分別說明如下 内文。二維平面除錯程式1 0 1 ,係能夠以原始碼型態的單In order to make those skilled in the art understand the purpose, features, and effects of this creation, the following specific embodiments and the accompanying drawings are used to explain this creation in detail as follows. [Embodiment] The second figure shows the architecture diagram of a two-dimensional plane debugging device used in the computer programming language of the present invention, and the third picture shows the output screen on the display when the author implements the debugging. The two-dimensional plane debugging device 10 used in the computer programming language is mainly composed of the two-dimensional plane debugging program 101, the main memory 10, the processor 10, and the display 10, which are described below respectively. Text. The two-dimensional plane debugging program 1 0 1

一指令來作為除錯基本單位,以及係能夠容許原始碼以單 行來包括至少一個以上的單一指令。主記憶體1 0 3係儲存 二維平面除錯程式1 0 1 。處理器1 0 5係經由匯流排連接主記 憶體1 0 3與顯示器1 0 7 ,處理器1 0 5主要用來執行位於主記An instruction is used as the basic unit for debugging, and it is possible to allow the source code to include at least one or more single instructions in a single line. The main memory 1 0 3 stores a two-dimensional plane debugging program 1 0 1. The processor 105 is connected to the main memory by a bus 1 0 3 and the display 107, and the processor 10 is mainly used to execute the main memory.

第6頁 M273772 四、創作說明(3) 憶體1 0 3的二維平面除錯程式1 0 7,並將除錯狀態與原始碼 被執行後的執行狀態,來對顯示器1 0 7輸出。Page 6 M273772 IV. Creation Instructions (3) The 2D planar debugging program 107 of the memory 103 is output to the display 107 with the debugging status and the execution status after the source code is executed.

在第三圖中,顯示器107的第一視窗21乃用來顯示的 原始碼,而原始碼能夠被由不同的顯示屬性來顯示出來, 這樣的話,讓原始碼的每一個單一指令能夠充份表現出除 錯狀態。同時,顯示器1 0 7的至少一個以上的第二視窗 2 3、2 5、2 7,用來乃來顯示原始碼被執行後的執行狀態。 請參見第三圖,第三圖的第一視窗2 1所顯示的原始碼,乃 係由E Z語音控制的程式語言所撰寫的原始碼,從第一視窗 2 1的原始碼的範例來看,本創作的二維平面除錯裝置,乃 係可容許一個單行(One line)來包括一個或二個(含)以上 的單一指令,並且本創作的二維平面除錯裝置係採以單一 指令來作為除錯基本單位,據此,使用者能夠在包括兩個 以上單一指令的單行,來對這單行的每一個單一指令下達 除錯命令,例如下達中斷(Break)命令。In the third figure, the first window 21 of the display 107 is used to display the source code, and the source code can be displayed by different display attributes. In this way, each single instruction of the source code can be fully expressed. Debug status. At the same time, at least one or more second windows 2 3, 2 5 and 2 7 of the display 107 are used to display the execution status after the source code is executed. Please refer to the third figure. The source code shown in the first window 21 of the third figure is the source code written by the EZ voice controlled programming language. From the example of the source code in the first window 21, The two-dimensional plane debugging device of this creation allows one line to include one or two or more single instructions, and the two-dimensional plane debugging device of this creation uses a single instruction to As a basic unit for debugging, according to this, the user can issue a debug command, such as a break command, on each single instruction of the single line in a single line including two or more single instructions.

再請參見第三圖,第三圖的第一視窗21所顯示的EZ程 式語言的原始碼,每一個單一指令係能夠被附予不同的顯 示屬性來顯示。例如單一指令中以黑色字體所顯示的字 樣,即代表此字樣係使用者自行定義的;又例如單一指令 中以藍色字體所顯示的字樣,即代表此字樣係關鍵字;又 例如單一指令中以紅色字體所顯示的字樣,即代表此字樣 係常數。再者,顯示屬性亦可以係一種除錯命令符號,例 如中斷除錯命令,於第一視窗21所顯示的紅點符號即為中 斷除錯命令的實施範例。Please refer to the third figure again. The source code of the EZ program language shown in the first window 21 of the third figure, each single command can be displayed by attaching different display attributes. For example, the typeface displayed in black font in a single instruction means that the typeface is user-defined; or the typeface displayed in blue font in a single instruction means that the typeface is a keyword; for example, in a single instruction The typeface displayed in red font represents the typeface constant. Furthermore, the display attribute may also be a type of debugging command symbol, for example, the interrupt debugging command. The red dot symbol displayed in the first window 21 is an example of the implementation of the interrupt debugging command.

第7頁 M273772 四、創作說明(4) 顯示器107的該些第二視窗23、25 、27 ,乃來顯示原 始碼被執行後的執行狀態。在第三圖中,第二視窗2 3係用 來顯示整個播放晶片記憶體内容,而第二視窗2 5係用來顯 示使用者所能利用之記憶體内容,以及第二視窗2 7係用來 顯示晶片其播放相關狀態所屬暫存器内容,例如語音播放 晶片的播放狀態、放音頻率、封包、音量大小。 本創作的重要技術精神,乃著重於二維平面除錯裝置 1 0的人機介面,以及改採單一指令的除錯基本單位。本創 作的二維平面除錯裝置2 0所採用的除錯核心,即為二維平 面除錯程式1 0 1 ,其大部分可以採用習用除錯系統的核Page 7 M273772 4. Creation instructions (4) The second windows 23, 25, 27 of the display 107 show the execution status after the original code is executed. In the third figure, the second window 23 is used to display the entire memory content of the playback chip, and the second window 25 is used to display the memory content available to the user, and the second window 27 is used to display To display the contents of the register to which the chip's playback-related status belongs, such as the playback status, playback rate, packet, and volume of the voice playback chip. The important technical spirit of this creation is focused on the human-machine interface of the two-dimensional plane debugging device 10 and the basic unit of debugging that adopts a single instruction. The two-dimensional planar debugging device 20 used in the creation of the debugging core is the two-dimensional planar debugging program 1 01, most of which can use the kernel of the conventional debugging system

心,據此,本創作可以藉由習用除錯系統核心,來實現二 維平面除錯裝置1 0。 依據本創作所實現的除錯裝置1 0,可以係一部電腦, 其在視窗作業系統環境中來執行二維平面除錯程式1 0 1 。 再者,本創作的除錯裝置10並不侷限在EZ程式語言,其可 以推及於其它電腦程式語言,例如C程式語言,惟此些等 效變化,皆仍屬於本創作的範疇以内。 本創作的二維平面除錯裝置1 〇所具備的優點與顯著功 效增進之處,就是能夠搭配程式語言的特性,將除錯的範 圍由單行改良並擴展至平面,使其與程式語言本身特性相 符。Based on this, this creation can realize the two-dimensional plane debugging device 10 by using the core of the debugging system. The debugging device 10 implemented according to the present invention may be a computer that executes a two-dimensional plane debugging program 101 in a Windows operating system environment. Moreover, the debugging device 10 of this creation is not limited to the EZ programming language, and it can be extended to other computer programming languages, such as the C programming language, but such equivalent changes still fall within the scope of this creation. The advantages and significant enhancements of the two-dimensional plane debugging device 10 created in this creation are that it can match the characteristics of the programming language, improve the scope of debugging from a single line and expand it to the plane, so that it has the characteristics of the programming language itself Match.

雖然本創作已具體實施例揭露如上,然其所揭露的具 體實施例並非用以限定本創作,任何熟悉此技藝者,在不 脫離本創作之精神和範圍内,當可作各種之更動與潤飾,Although the specific embodiments of this creation have been disclosed as above, the specific embodiments disclosed are not intended to limit this creation. Anyone who is familiar with this art can make various changes and decorations without departing from the spirit and scope of this creation. ,

第8頁 M273772 四、創作說明(5) 其所作之更動與潤飾皆屬於本創作之範疇,本創作之保護 範圍當視後附之申請專利範圍所界定者為準。 Ι^ϋ M273772 圖式簡單說明 【圖式簡單說明】 第一圖顯示傳統除錯系統對原始碼執行除錯的晝面。 第二圖顯示本創作用於電腦程式語言的二維平面除錯裝置 的架構圖。 第三圖顯示實現本創作於執行除錯時,在顯示器的輸出畫 面〇 【主要元件符號說明】 ίο 二維平面除錯裝置 2 1 第一視窗Page 8 M273772 IV. Creation Instructions (5) The modifications and retouchings made by him belong to the scope of this creation. The protection scope of this creation shall be determined by the scope of the attached patent application. Ι ^ ϋ M273772 Schematic description [Schematic description] The first figure shows the day-to-day view of the traditional debugging system performing debugging on the source code. The second figure shows the architecture of a two-dimensional planar debugging device used in a computer programming language. The third figure shows the output screen of the monitor when the debugging is implemented. [Description of the main component symbols] ίο Two-dimensional plane debugging device 2 1 The first window

2 3 、2 5 、2 7 第二視窗 101 二維平面除錯程式 10 3 主記憶體 1 05 處理器2 3, 2 5, 2 7 Second window 101 2D plane debugger 10 3 Main memory 1 05 Processor

第10頁Page 10

Claims (1)

M273772 五、申請專利範圍 1. 一種用於電腦程式語言的二維平面除錯裝置,包括: 一二維平面除錯程式,係能夠以原始碼型態的單一指 令來作為除錯基本單位,以及係能夠容許原始碼以單行來 包括至少一個以上的單一指令; 一主記憶體,係儲存二維平面除錯程式; 一顯示器; 一處理器,係經由匯流排連接主記憶體與顯示器,以 及執行位於主記憶體的二維平面除錯程式,並對顯示器輸 出除錯狀態與原始碼被執行後的執行狀態;M273772 5. Scope of patent application 1. A two-dimensional plane debugging device for a computer programming language, including: a two-dimensional plane debugging program, which can use a single instruction in the form of a source code as the basic unit for debugging, and It is capable of allowing the source code to include at least one or more single instructions in a single line; a main memory that stores a two-dimensional plane debugging program; a display; a processor that connects the main memory and the display via a bus, and executes A two-dimensional plane debugging program located in the main memory, and outputs a debugging status and an execution status after the source code is executed to the display; 其中顯示器的第一視窗顯示的原始碼,係由不同的顯示屬 性來顯示出來,而使原始碼的每一個單一指令表現出除錯 狀態,以及顯示器的至少一個以上的第二視窗來顯示原始 碼被執行後的執行狀態。 2. 如申請專利範圍第1項所述之二維平面除錯裝置,其中 原始碼,係一由E Z語音控制的程式語言所撰寫的原始碼。 3. 如申請專利範圍第1項所述之二維平面除錯裝置,其中 原始碼,係一由C程式語言所撰寫的原始碼。 4. 如申請專利範圍第1項所述之二維平面除錯裝置,其中 該些顯示屬性,係包含:一字體顏色、一除錯命令符號。The source code displayed in the first window of the display is displayed by different display attributes, so that each single instruction of the source code displays a debugging state, and at least one second window of the display displays the source code. The execution status after being executed. 2. The two-dimensional plane debugging device as described in item 1 of the scope of patent application, wherein the source code is a source code written by a programming language controlled by E Z voice. 3. The two-dimensional plane debugging device described in item 1 of the scope of patent application, wherein the source code is a source code written in the C programming language. 4. The two-dimensional plane debugging device according to item 1 of the scope of patent application, wherein the display attributes include: a font color and a debug command symbol. 5 .如申請專利範圍第1項所述之二維平面除錯裝置,其中 該些第二視窗,係包含:一記憶體内容的顯示視窗、一暫 存器内容的顯示視窗。 6.如申請專利範圍第1項所述之二維平面除錯裝置,其中 該些第二視窗,進一步係包含:一晶片其所屬暫存器内容5. The two-dimensional plane debugging device according to item 1 of the scope of the patent application, wherein the second windows include: a display window of memory contents and a display window of register contents. 6. The two-dimensional plane debugging device according to item 1 of the scope of patent application, wherein the second windows further include: a chip and a register content thereof 第11頁 M273772 五、申請專利範圍 的顯示視窗。 uni 第12頁Page 11 M273772 5. Display window of patent application scope. uni page 12
TW93221336U 2004-12-31 2004-12-31 Two-dimensional debugging device for computer programming language TWM273772U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93221336U TWM273772U (en) 2004-12-31 2004-12-31 Two-dimensional debugging device for computer programming language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93221336U TWM273772U (en) 2004-12-31 2004-12-31 Two-dimensional debugging device for computer programming language

Publications (1)

Publication Number Publication Date
TWM273772U true TWM273772U (en) 2005-08-21

Family

ID=37000919

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93221336U TWM273772U (en) 2004-12-31 2004-12-31 Two-dimensional debugging device for computer programming language

Country Status (1)

Country Link
TW (1) TWM273772U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458380B2 (en) 2008-03-26 2013-06-04 Qualcomm Incorporated Off-line task list architecture utilizing tightly coupled memory system
US8787433B2 (en) 2008-03-28 2014-07-22 Qualcomm Incorporated Wall clock timer and system for generic modem

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458380B2 (en) 2008-03-26 2013-06-04 Qualcomm Incorporated Off-line task list architecture utilizing tightly coupled memory system
US8787433B2 (en) 2008-03-28 2014-07-22 Qualcomm Incorporated Wall clock timer and system for generic modem

Similar Documents

Publication Publication Date Title
US10254848B2 (en) Cross-platform data visualizations using common descriptions
Appert et al. Using strokes as command shortcuts: cognitive benefits and toolkit support
WO2019075888A1 (en) Document commenting method and apparatus, and electronic device
JPH08510345A (en) Computer / human interface system for compound documents
WO2019071802A1 (en) Document annotation method and apparatus, and electronic device
JPH0628080A (en) Computer system and method for operating it
US20180096642A1 (en) Electronic device with transparent display
US8302070B2 (en) Output styling in an IDE console
TWI308723B (en) System for simulating mobile phone and method thereof
US8793565B2 (en) File format conversion of an interactive element in a graphical user interface
TW200901156A (en) Method for generating object properties related to a user interface
CN113031949A (en) iOS-based text rendering engine, method, apparatus, device, and medium
Billah et al. Sinter: Low-bandwidth remote access for the visually-impaired
TWM273772U (en) Two-dimensional debugging device for computer programming language
TWI291669B (en) Method of learning to write Chinese characters
US20140215324A1 (en) Computerized method and computer program for displaying and printing markup
JP2001265791A (en) Electronic book display device and storage medium storing electronic book display program
JP3564317B2 (en) Document display method and display device
JP2007532987A5 (en)
JPH08166870A (en) Information processor
TWI770454B (en) Kvm switch and data transmission method
JPH0689367A (en) Handwriting information processor
JP2004199399A (en) Printer driver, printing system and recording medium
TWI240194B (en) Computer having touch panel
EP1111341A3 (en) Command control device and navigation device