c语言实现图像跟踪,一个可编程C语言图像处理软件中跟踪调试功能的实现.pdf

一个可编程C语言图像处理软件中跟踪调试功能的实现

CN431258/ TP     计算机工程与科学 2009 年第 3 1 卷第 3 期

ISSN 1007130X COM PU T ER EN GIN EER IN G & SCIEN CE  Vol3 1 ,No3 ,2009

( )

文章编号 :1007130X 2009

一个可编程 C 语言图像处理软件中

跟踪调试功能的实现

A Met ho d of Imp lementing t he Debu gging an d

Tr acin g Technique s in t he Image Proce ssin g

Sof t w ar e Ba sed o n t he C Co mp iler

1 2

台继荣 ,刘吉平

TAI Jirong1 ,L IU Jiping2

( 1. 武汉理工大学外国语学院,湖北 武汉 430070 ;2 . 武汉大学资源与环境学院,湖北 武汉 430070)

( 1. School of Foreign Languages , Wuhan University of Technology , Wuhan 430070 ;

2 . School of Resources and Environmental Science , Wuhan University , Wuhan 430070 , China)

摘  要 :通过在 C 语言编译器产生的汇编代码中增加“软中断”指令和模拟设置断点 , 回避了 Window s 调试 A P I 函数

的局限 ,实现了图像处理软件中编译器的跟踪调试功能 。通过追踪编译器生成的局部变量和全局变量内存分配表 ,实现了

断点追踪过程中的数据实时查询功能 ;通过查找特定的函数头标志 ,实现了 call st ack 功能 。本文所述软件模拟实现了常

用编译器调试功能中的基本功能 。

Abstract :Through adding a“soft int errup t ”in st ruction in t he a smbel co de p roduced by t he C compiler ,and simulating

t he setting of break point s to avoid t he Window s ’limit ation of debugging t he A PI function ,we realize t he dubugging and

t racing function of t he compiler in image p rocessing software . Through t racing t he local variables and global variables mem

ory allocation t able ,we get t he realtime inquiry function of dat a in t racing t he break point s. Through finding t he sp ecific

function head ,we realize t he function of call st ack . The soft ware p resent ed in t he

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值