Solved

error setting debug execption hook

Posted on 1997-06-17
3
367 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi exception 7 63
Help on project with Soap 10 48
How to renew a Delphi rad-studio licence? 5 49
TEMBEDDEDWB how can i change its user agent ? 8 50
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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now