Design and Implementation of a GDB-Based Debugger for Wireless Sensor Networks

Author
HuWeiBin
Advisor
BoJiaJun , ChenHua
School
Zhejiang University
Major
Applied Computer Technology
Classification
TN929.5 Mobile Communications
Degree
Master's thesis
Year
2008
Downloads
95
Citations
1

Request the full text

Table of contents

Abstract 3-4 Abstract 4-9 Chapter 1 Introduction 9-14 1.1 Background 9-12 1.1.1 Introduction of wireless sensor networks 9-11 1.1.2 SenSpire Profile 11-12 1.2 research content and meaning 12-13 1.3 Thesis Organization 13-14 Chapter 2 Debugger research 14-27 2.1 GDB debugger 14-19 2.1.1 GDB Debugger Overview 14-15 2.1.2 cross-debugging 15-16 2.1.3 GDB MI Interface 16-17 2.1.4 Introspect debugging techniques 17-19 2.1.5 CDT debugger: GDB-based debugger implementation examples 19 2.2 wireless sensor network debugging methods and tools 19-25 2.2.1 Using ICE achieve code level debugging 20-21 2.2.2 using the emulator to achieve code-level debugging 21-22 2.2.3 Clairvoyant debugger 22-24 2.2.4 EmStar debugger in 24 2.2.5 Features Comparison 24-25 2.3 Chapter Summary 25-27 Chapter 3 overall design framework and design principles 27-37 3.1 overall framework 27-33 3.1.1 Eclipse framework 27-29 3.1.2 SenSpire IDE framework 29-31 3.1.3 SenSpire Debugger Architecture 31-33 3.2 design principles 33-35 3.2.1-use principle 33-34 3.2.2 Open - closed principle 34 3.2.3 reuse principle 34-35 3.3 Other design considerations 35-36 3.3.1 platform portability 35-36 3.3.2 Scalability 36 3.3.3 internationalization 36 3.4 Summary 36-37 Chapter 4 SenSpire debugger model 37-48 4.1 debug model 37-39 4.1.1 Debugging artifacts 37-39 4.1.2 Debugging actions 39 4.1.3 debug event 39 4.2 debugger communication model 39-43 4.2.1 Debugging with GDB communication model 39-41 4.2.2 Debugging model and GUI communication 41-43 4.2.3 Communication Model optimization 43 4.3 CSpire language debugging support model 43-47 4.3.1 CSpire parsing 43-44 4.3.2 CSpire compilation process 44-46 4.3.3 code debugging CSpire the main problems and solutions 46-47 4.4 Summary 47-48 Chapter 5 SenSpire debugger function modules 48-59 5.1 basic functional modules 48-56 5.1.1 debugger loader 48-50 5.1.2 code locator 50-51 5.1.3 Breakpoint Manager 51-55 5.1.4 current code marking 55-56 5.1.5 Variable View 56 5.2 communication module 56-58 5.2.1 commands sent 56-57 5.2.2 GDB received information 57 5.2.3 event distribution 57-58 5.3 Chapter Summary 58-59 Chapter 6 Summary and Outlook 59-61 6.1 Full Summary 59 6.2 Prospects 59-61 References 61-64 Thanks 64-65 Author 65