Solved

error setting debug execption hook

Posted on 1997-06-17
3
389 Views
Last Modified: 2010-04-04
When I compile a project the error "error setting debug execption hook" occurs. When I stop compiling and start compiling again the program seems to work but in the background the compiling is in a never ending loop.
0
Comment
Question by:wimjoost
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
StevenB earned 50 total points
ID: 1337120
 There is a bug in delphi 2 that results in the above error whenever you try to compile a project when the previous run was stoppped with Run|Program Reset (ctrl f2). The next compile after this one however will run smoothly, as you suggest. The bug is sorted out in Delphi 3. The best way to prevent it in Delphi 2 is to never close an application with Run|Program Reset, but to shut it down by clicking the close icon on the Main Form border (or similar).

  Steven.
0
 

Author Comment

by:wimjoost
ID: 1337121
Dear StevenB,

I know now that there is a bug while compiling. I still don't know  what the error "error setting debug execption hook" means ? Can you please give an answer on this question ?
0
 
LVL 4

Expert Comment

by:StevenB
ID: 1337122
 Well, has my answer solved your problem?

  The error is within Delphi, so I must confess I don't know exactly what the error means. It must be thrown up by the Delphi code when something fails to initialise in the Debugger, on compilation. Essentially what it means is that you've got to try compiling again, which works (after you've Reset the Program again), so I've never really concerned myself over the exact meaning. It's a Bug afterall.

  Steven.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question