English  |  正體中文  |  简体中文  |  全文筆數/總筆數 : 65231/98744 (66%)
造訪人次 : 31946278      線上人數 : 2465
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library & TKU Library IR team.
搜尋範圍 查詢小技巧:
  • 您可在西文檢索詞彙前後加上"雙引號",以獲取較精準的檢索結果
  • 若欲以作者姓名搜尋,建議至進階搜尋限定作者欄位,可獲得較完整資料
  • 進階搜尋
    請使用永久網址來引用或連結此文件: https://tkuir.lib.tku.edu.tw/dspace/handle/987654321/52163


    題名: Java的靈活多緒除錯器
    其他題名: A multi-thread flexible debugger for Java
    作者: 劉妍君;Liu, Yen-chun
    貢獻者: 淡江大學資訊管理學系碩士班
    廖賀田;Liaw, Heh-tyan
    關鍵詞: Java;除錯器;開架式介面;語法單元;除錯步伐;Debugger;Open-Access;SyntaxUnit;DebuggingPace
    日期: 2010
    上傳時間: 2010-09-23 17:01:25 (UTC+8)
    摘要: 在程式的開發環境下,程式員依照規格書寫好主題程式後就會進行測試,如果測試的結果與規格書所載不符時就得進行除錯(debug)。市面上的整合型開發環境(IDE)都內建普通除錯器,普通除錯器是以原始碼的行(line)作為基本除錯單位,因此當錯誤發生在比較複雜的算式之內時,普通除錯器就難以滿足需求。另外除錯器是按照既定的程式流程執行,程式員不能臨時呼叫其他副程式進行測試,只能反覆脫離除錯器以便修改測試原始碼。

    本論文提出一個Java的多緒靈活除錯器,內建開架式介面。它以語法樹的語法單元作為基本除錯單位,程式員可以逐語法單元評估每一步的執行結果,還可以自行調整下一步除錯所需的步伐(pace)大小。當主題程式中斷執行時,開架式介面可以支援程式員直接取用執行期的物件資料,或是當下呼叫另外一個副程式。為了確保主題程式可以從中斷狀態恢復執行,程式員所寫的測試碼都以新建的執行緒執行。本系統還提供管理多緒程式的功能,程式員可以利用本系統來對多緒程式進行除錯。
    In a program development environment, programmer will test main program after implementation. A debugging process is involved if the test result does not meet the specification. Popular Integrated Development Environment (IDE) normally build-in a common debugger which debugging unit is a line. When program error occurs in a complex expression, the common debugger is hard to meet programmer’s expectation when debugging. The debugger executes code follow by the control flow that is written, the programmer is unable to invoke another testing method while debugging. They have to repeatedly exit executing program, then modify testing code, and run it again.

    This master thesis proposed a Multi-Thread Flexible Debugger for Java, which build-in Open-Access Interface, and use syntax unit as its debugging unit. Programmer now can execute every single syntax unit, and watch the result. The size of next debugging pace can be adjusted. An Open-Access Interface helps programmer access object data or executes testing codes in the runtime. In order to guarantee the program can be resumed from suspend, all testing code are executed by another new thread, which is managed by multi-thread managing mechanism.
    顯示於類別:[資訊管理學系暨研究所] 學位論文

    文件中的檔案:

    檔案 大小格式瀏覽次數
    index.html0KbHTML730檢視/開啟

    在機構典藏中所有的資料項目都受到原著作權保護.

    TAIR相關文章

    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library & TKU Library IR teams. Copyright ©   - 回饋