[Delphi] 2010-03-30 14:20 我来说两句  

Delphi 在运行时出现了一个异常,两天后终於解决了。

最近在改程序的主控台,改动的地方也不多,就是涉及的“包(Package)”比较多,编译的时候并没有出现什么问题。而且编译之后也可以单独执行(Execute),但问题在於,在Delphi的环境下,执行“运行F9”,不能进入调试环境,其后果是Delphi直接死机,或者是出现“External Exception C0000009”,一直找不到原因,也Google不到相关的资料。
今天,我想到了另外一个问题,会不会是“包”的问题?於是,我在主程序的“运行期Runtime”里,把所有的包都删除,只保留“vcl;rtl”,结果是:“可以调试”了,至此,我已经明白,肯定是某个包引起问题了,而Delphi却没有报告问题。
我把所需要的运行包,一个个的加入到“Runtime”时,加入最后一个包的时候,发现故障重现。判断是此包出问题之后,我重编译此包,再重新加入主程序的Runtime里,问题解决,可以进入调试环境了。

 
  • 1. natural erectile dysfunction formula
    2010-03-31 at 09:51

    I read a few topics. I respect your work and added blog to favorites.

  • 2. cat lost weight but still eats
    2010-04-04 at 01:20

    Thank you! You often write very interesting articles. You improved my mood.

  • 3. cheap propecia
    2010-04-10 at 18:47

    Valuable thoughts and advices. I read your topic with great interest.

  • 4. clomid mg
    2010-04-15 at 07:10

    Very interesting and amusing subject. I read with great pleasure.

4 条留言 | 欢迎您也来跟两句

必填

必填(不对外显示)

:victory: :titter: :think: :surprise: :snooty: :smoke: :smile: :shout: :ruth: :question: :puzzle: :plutus: :noway: :laugh: :insidious: :ill: :hint: :hearten: :happy: :fury: :find: :faint: :embarrass: :congrats: :calculate: :bye: :avarice: :approve: :ablush:

可用的HTML标签如下:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

About
My sun

   人生路上,是非无常,祸福旦夕。放得开胸怀,才能收得下世界。--煮茶村长。

Calendar
09月 2010
« Jul    
 1234
567891011
12131415161718
19202122232425
2627282930