• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (1): 178-182.

• 论文 • Previous Articles     Next Articles

An Online Data Debugging Model Based on Naming Variables

ZHANG Shaobo,RAO Dan   

  1. (State Grid Electric Power Research Institute,Nanjing 210003,China)
  • Received:2011-06-04 Revised:2011-08-30 Online:2012-01-25 Published:2012-01-25

Abstract:

With the development of the embedded system framework and application software, the existing processororiented debugging methods do not satisfy the requirement for system debugging. This paper introduces a debugging model for viewing and updating the variables’ values in all the boards of a device via variable names, and describes the debugging framework. The key technologies of an algorithm for the address calculating of the “struct” type variables and the dynamic registration method of debugging are implemented in this model. This model with a visual tools application for variable debugging is shown in this paper. This model can be used in a embedded system composed of  many CPU boards. The debugging method does not affect a system operation when viewing the  plugin dynamic object member variables and memory region information, and the embedded devices only need to provide a debug interface for debugging, which saves some hardware resources.

Key words: realtime access;embedded system;debugging;naming variable