基于Windows的未处理异常捕获及处理方法  

The Method of Unhandled Exception Capture and Handling Based on Windows

在线阅读下载全文

作  者:洪承煜[1] 杨尚琴[1] 

机构地区:[1]中国石化石油物探技术研究院,南京210014

出  处:《现代计算机》2013年第15期42-45,56,共5页Modern Computer

摘  要:在应用程序中,异常随时随地都可能会发生,通常在C++中处理方法是使用try/catch块来产生和捕获异常。但在现实的软件开发中,总会忽略掉一些没有使用try/catch块的地方及try/catch块中忽略掉的异常类型,这些异常中,有些会造成程序崩溃。为了解决这种崩溃,提出一种基于Windows系统下的异常捕获及处理方法,这种方法可以对软件运行中的崩溃起到部分自恢复和故障信息记录的作用。Application exception may occur anywhere, usually in C++, our approach is to use a try/catch block to catch the exception. But in the reality of software development, we always ignore not use try/catch block and try/catch block ignored exception types, some of these exceptions, will cause the program to crash. In order to solve this crash, proposes a Windows-based system ex ception catching and processing methods, this method can crash the software running play the part of self-recovery and fault information recording.

关 键 词:异常处理 软件崩溃 软件自恢复 

分 类 号:TP316.7[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象