English 中文(简体)
madExcept, 摘自目前的脚步
原标题:madExcept, getting top of current stack

在2007年硫化申请中,我们利用马德韦特来为我们处理排外问题。 我们使用标准方言,如果用户想要的话,让用户寄出一份邮件。

我们希望增加这一功能。 如果用户选择不发送完整报告,我们仍希望将例外记录在档案中,但不是完整的报告。 我们希望例外类别和电文以及源文档和线号。

The first two is easy, but I can t find a straight forward way of finding the latter.

我有一份完整的例外报告,其形式是、Exception接口。 如我所知,只有<编码>BugReport Sections 财产,使我想到的是简单文本中的 st。

在madStackTrace.pas,有一个StackTrace(-Function,应当给我带来我想的东西。 它包含许多参数,文件在信息方面很少。

Question: Does anybody know the right parameters to feed into StackTrace( ), so that it only return the top item of the stack from the thread where the exception was thrown?

问题回答

madStackTrace.pas有另一个功能,StackAddr ToStr,即仅使用单一地址,并返还格式文本。 如在<代码>上填满,除>外,您可通过全球<代码>ExceptAddr变数。 如果你在一次“mad门”呼吁中使用“监听器”。 而是例外。





相关问题
determining the character set to use

my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta ...

Help with strange Delphi 5 IDE problems

Ok, I m going nuts here. For the last (almost) four years, I ve been putting up with some extremely bad behavior from my Delphi 5 IDE. Problems include: Seemingly random errors in coride50.bpl ...

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How convert string to integer in Oxygene

In Delphi, there is a function StrToInt() that converts a string to an integer value; there is also IntToStr(), which does the reverse. These functions doesn t appear to be part of Oxygene, and I can ...

Quick padding of a string in Delphi

I was trying to speed up a certain routine in an application, and my profiler, AQTime, identified one method in particular as a bottleneck. The method has been with us for years, and is part of a "...

热门标签