请问这个报错是什么意思?(80分)

  • 主题发起人 主题发起人 Jasonzhang
  • 开始时间 开始时间
J

Jasonzhang

Unregistered / Unconfirmed
GUEST, unregistred user!
当我在一个线程中调用一个clientdataset时:
form2.ClientDataSet1.DataRequest(str_sql);
就会报出下面这个错误:
Project projectname raised too many consecutive exceptions:
application defined exception (code xxxx) at xxxx.
Process stopped. Use Step or Run to continue.
这个错误的具体解释如下:
The debugger tracks all exceptions that occur including
those which may be handled by your application. Although
this is likely to indicate a program failure, it need not always
indicate a failure. This informational message occurs when your
application encounters a large number of a specific system exceptions
at the same address without any intervening exceptions (including those
that result from stepping and hitting breakpoints).
For example, the following code will trigger the notification:
while truedo

IsBadReadPtr(Pointer(13), 4);
// AV at 0x77f1b347
but this will not:
while truedo

begin
IsBadReadPtr(Pointer(13), 4);
// AV at 0x77f1b347
IsBadWritePtr(Pointer(13), 4);
// AV at 0x77f1b34c, resets counter
end;

To resume execution of the program, you can typically use the Step or
Run debugging commands.
Note: Your program may be in a state where attempting to continue
will result in the error again. In this situation, you may need to terminate
the application and investigate the cause of the exception.

请各位多多指教!
 
你的线程有同步处理吗?试试看。
 
进程有问题!设置断点跟踪调试一下!
 
同步化﹐進程間相沖突。
 
你这个线程DataRequest时,将触发datasetprovider的DataRequest事件
你的datasetprovider是不是只有一个?可能其它线程也同时对datasetprovider
进行操作。
 
后退
顶部