TW200951814A - Autolisp debugging system - Google Patents

Autolisp debugging system Download PDF

Info

Publication number
TW200951814A
TW200951814A TW97121048A TW97121048A TW200951814A TW 200951814 A TW200951814 A TW 200951814A TW 97121048 A TW97121048 A TW 97121048A TW 97121048 A TW97121048 A TW 97121048A TW 200951814 A TW200951814 A TW 200951814A
Authority
TW
Taiwan
Prior art keywords
autolisp
program
block
debugging system
debugging
Prior art date
Application number
TW97121048A
Other languages
Chinese (zh)
Other versions
TWI408602B (en
Inventor
Wen-Hsien Chen
Original Assignee
Tsint
Wu mei ying
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 Tsint, Wu mei ying filed Critical Tsint
Priority to TW97121048A priority Critical patent/TWI408602B/en
Publication of TW200951814A publication Critical patent/TW200951814A/en
Application granted granted Critical
Publication of TWI408602B publication Critical patent/TWI408602B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

This patent invent an Autolisp debugger. It has benefits listed below. 1 Pick out the wrong spelled reserved word in Autolisp 2 Pick out the unbalanced left or right parentheses in a statement 3 Draw lines to help identify the Autolisp program block and loop.

Description

200951814 九、發明說明: 【發明所屬之技術領域】200951814 IX. Description of the invention: [Technical field to which the invention belongs]

Autolisp是電腦輔助製圖軟體Autocad開放架構下的程式設計語言。 匕月匕客戶化(customize) Autocad的工作環境,也能設計(pr〇graming)自動 化的製圖流程。使得通用性(general purpose)的Aut〇cad能化身為土木、 建築、化工、機械等各行各業的專用製圖工具。 【先前技術】Autolisp is a programming language for the computer-aided graphics software Autocad open architecture.匕月匕匕customizes Autocad's work environment and can also design (pr〇graming) automated charting process. The general purpose of the Aut〇cad can be transformed into a special drawing tool for civil engineering, construction, chemical, machinery and other industries. [Prior Art]

Q % 雖然Autolisp程式語言提供了使用者自行設計與規劃Aut〇cad工作方 式的能力。但是Autolisp卻不具有現代程式語言軟體普遍具備的整合式 (integrated)工作環境及trace(追蹤執行)程絲行過程的除錯功能;再加 上Autolisp語言所特有的多重小括弧的特性,使得A福i印程式設計者 既要計數祕弧錄崎健,又要查看料區段麵路細邏輯上是否 正確?在系統發展與除錯過程上異常辛苦。Q % Although the Autolisp programming language provides the user with the ability to design and plan the Aut〇cad work style. However, Autolisp does not have the integrated working environment and the debugging function of trace (travel execution) process in modern programming language software. In addition, the characteristics of multiple small brackets unique to Autolisp language make A Fujifilm printers need to count the secret arc record, and also check whether the material section is logically correct. It is very hard in the process of system development and debugging.

AutoCAD晚近版本雖扣「顏色」區分心⑽㈣字但在程式區 塊辨認上财如本發明以「框魏住程式區塊段落」來崎楚明白。 【發明内容】 本發明提出—種鮮纽且迅速的整合式除錯處理,顧A_isp程 式的一紐驗如小細咖咐義,程《賊_重疊等等。 並能追縱赋㈣錄繼;概㈣爾析、小括孤 配對、針對「程«塊標上框線」,其絲絲式設計者以目視姆看出那 裡錯誤,能不辆式中眼花魏的眾多小括弧所苦。 200951814 【實施方式】 -種針對—ρ程式語言的除錯系統。請參閱第一圖所示,係包括 除錯程式MSwave-exe」的執行’針對除錯對象例如_.isp程式進 ^執行後’產生「保留字拼錯」檔「左右小括弧不平衡」細細 及最後成果「程式區塊以框線標示」檔atextgrd。 藉由atextfim、atextxnt、尤其atextgrd,讓Am〇Usp程式設計者可在 很短時間峨賴原有程式atexUsp巾的「㈣字·、左右小括孤數目不 對稱、程式區塊配對錯誤」等等錯誤,迅速予以更正。 【圖式簡單說明】 一.本Autolisp debugger不是告訴你何處少了括弧(這種作法可能的解有 多個,也不準),是利用框線幫你認^某些敘述的小括弧形成—個區塊,是否 合理?由你(自己的智慧)去決定程式的對錯. 一·有利於程式判讀的良好的Autolisp程式書寫習慣. -程式區塊頭尾兩列要由同-垂直行(ident)寫起使左右凹凸對應,方 便程式閱讀 一程式區塊末尾列要標註對應的開頭列,例如:「);setq」,表示此列尾 是「(setq」列頭所對應。 三·追尋程式括弧配對錯誤的途徑應由上往下由内層向外層找尋遺漏的左 或右括孤(因為本除錯系統邏輯亦如此做).找到一個錯後不要急著找第二 個錯,應先更正完,重新除錯得到新除錯框線後,再找(因為上面的錯有可 能影響底下各列的框線)下個錯誤。 四.本發明,程式錯誤的部份多會「區域化」,不會影響到別處正確的程式 區塊 【主要元件符號說明】 元件(A) ld3wave.exe除錯主程式 元件(a)產生保留字拼錯標atext.ftjn 元件(b)產生「左右括弧數」標atext.cnt 元件(c)產生程式區塊框線檐atext.grdAlthough the recent version of AutoCAD is deducted from the "color" to distinguish the heart (10) (four) words, but in the program block identification, as the invention is "framed Wei block program block paragraph" to understand. SUMMARY OF THE INVENTION The present invention proposes a kind of fresh and rapid integrated debugging processing, and the A_isp method is like a small cookie, and the process is "thief_overlap and so on." And can be traced to Fu (4) recorded; general (four) analysis, small and solitary pairing, for the "Cheng «block mark on the frame line", its silk designer to see the error there, can not be in the middle of the eye Wei's many small brackets suffer. 200951814 [Embodiment] - A debugging system for the -ρ programming language. Please refer to the first figure, including the execution of the debugging program MSwave-exe. 'For the debugging object, for example, the _.isp program is executed ^, the generated "reserved word misspelling" file "left and right small bracket imbalance" is fine. The final and final result "program block is marked by a frame" file atextgrd. With atextfim, atextxnt, and especially atextgrd, the Am〇Usp programmer can rely on the "(4) word, the asymmetry of the left and right small orphans, the incorrect block pairing of the program block, etc." in a short time. Errors and correct them quickly. [Simple description of the diagram] 1. This Autolisp debugger does not tell you where the brackets are missing (there are more than one possible solution for this method, and it is not allowed). It is to use the frame line to help you recognize the formation of some brackets. Is it reasonable to be a block? It is up to you (their wisdom) to decide the right or wrong of the program. 1. Good Autolisp programming habits that are good for program interpretation. - The first two columns of the program block should be written by the same-vertical line (ident) to make the left and right bumps correspond. For the program to read the end of a program block, you need to mark the corresponding first column, for example: "); setq", which means that the end of the column is "(setq) column header. 3. The way to track the mismatch of the brackets should be Look up and down from the inner layer to the outer layer to find missing left or right orphans (because this debugging system logic also does this). After finding a mistake, don't rush to find the second mistake, you should correct it first, then re-debug to get new After correcting the line, look for the next error (because the above error may affect the frame of the bottom column). 4. In this invention, the part of the program error will be "regionalized" and will not affect the other place. Program block [Major component symbol description] Component (A) ld3wave.exe debug main program component (a) generates reserved word misspelling atext.ftjn component (b) produces "left and right brackets" tag atext.cnt component ( c) Generate a block block line 檐atext. Grd

Claims (1)

200951814 十、申請專利範圍: 如第三圖所示:「程式區塊以框線標示」。它一方面能方便程式設計者 閱讀程式邏輯,二方面,所標示的程式區塊或迴路,能幫助程式設計者 迅速看出程式是否有錯。200951814 X. Patent application scope: As shown in the third figure: “The program block is marked by a frame line”. On the one hand, it is convenient for the programmer to read the logic of the program. On the other hand, the programmed block or loop can help the programmer to quickly see if the program is faulty. 77
TW97121048A 2008-06-06 2008-06-06 Autolisp debugging system TWI408602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97121048A TWI408602B (en) 2008-06-06 2008-06-06 Autolisp debugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97121048A TWI408602B (en) 2008-06-06 2008-06-06 Autolisp debugging system

Publications (2)

Publication Number Publication Date
TW200951814A true TW200951814A (en) 2009-12-16
TWI408602B TWI408602B (en) 2013-09-11

Family

ID=44871859

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97121048A TWI408602B (en) 2008-06-06 2008-06-06 Autolisp debugging system

Country Status (1)

Country Link
TW (1) TWI408602B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0830309A (en) * 1994-07-14 1996-02-02 Fanuc Ltd Editing system for sequence program
JP2005309593A (en) * 2004-04-19 2005-11-04 Mitsubishi Electric Corp Program preparation device and program preparation method

Also Published As

Publication number Publication date
TWI408602B (en) 2013-09-11

Similar Documents

Publication Publication Date Title
Reid Trustworthy specifications of ARM® v8-A and v8-M system level architecture
Ramos et al. {Under-Constrained} symbolic execution: Correctness checking for real code
CN104077144A (en) Data race detection and evidence generation method based on multithreaded program constraint building
US20070240123A1 (en) Method for creating software debug breakpoints activated by specific call patterns
US9792402B1 (en) Method and system for debugging a system on chip under test
US10209984B2 (en) Identifying a defect density
TW200841173A (en) Tracking method for embedded system
TW201321973A (en) Handheld electronic device testing method
Ivančić et al. DC2: A framework for scalable, scope-bounded software verification
Mesbah Advances in testing JavaScript-based web applications
CN105027089B (en) Core functions detector
JP2008186120A5 (en)
TWI437457B (en) Method for analyzing dependency of target object
CN103646031A (en) Method for contrasting coordinate data of DRC files
Lonsing et al. Unlocking the power of formal hardware verification with cosa and symbolic qed
TW200951814A (en) Autolisp debugging system
Estefó et al. Code duplication in ROS launchfiles
US11461220B2 (en) Techniques to identify improper information in call stacks
Subramanian et al. A solver for a theory of strings and bit-vectors
CN107291617B (en) Vulnerability analysis method based on implicit taint propagation
Anslow et al. Visualizing the word structure of java class names
CN106095631B (en) Multi-cycle non-pipeline CPU dynamic debugging method based on finite state machine
Könighofer et al. Automatic error localization for software using deductive verification
CN103365775B (en) Based on the unit test method that internal state checks
Wen et al. A productivity centered tools framework for application performance tuning

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees