Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Debugger/Watches    [ Add a report in this area ]  
Report #:  38585   Status: Closed
IDE stops responding when using certain watches.
Project:  Delphi Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Frank Segers
Report Type:  Crash / Data loss / Total failure Date Reported:  1/11/2007 5:15:24 AM
Severity:    Critical / Show Stopper Last Updated: 6/6/2012 6:27:15 PM
Platform:    All versions Internal Tracking #:  
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
4.50 out of 5
Total Votes: None
Description
When using a watch like "MailMergeInfo.PrinterType" in the example, allowing function calls, the EDI will not respond anymore as it enters the breakpoint on the line "MailMergeInfo.PrinterType := '15';".
Trying to disable the watch by clicking the checkbox of the watch will not help. Reenable it just makes it worse: the EDI hangs completely.
Steps to Reproduce:
1. Insert a breakpoint at line 55 of Unit1 (MailMergeInfo.PrinterType := '15';).
2. Run it.
3. Click on the Button1 button.
4. The program stops at the breakpoint, allowing you to add "MailMergeInfo.PrinterType" to the watchlist.
5. Edit the watch: enable "Allow function calls" and click on the Ok button.
6. Notice the IDE not responding anymore.
7. Disable and enable the watch using it's checkbox.
8. Notice the IDE to hang completely.
Workarounds
None
Attachment
WatchErrors.zip
Comments

Florent Ouchet at 1/22/2007 9:57:37 AM -
Cannot reproduce with BDS 2006 (same build) on a clean installation, Windows 2000 Pro SP4.

Lasse Holm at 2/1/2007 2:26:41 AM -
I try to avoid using COM objects in watches in BDS2006 (same build), because it often results in that the IDE stops responding.

(I have not been able to make a simple example, that consistently results in that the IDE stops responding, yet)

Gregor Mocnik at 3/14/2007 11:28:38 PM -
I have the same problem with Delphi 2006 debugging COM+ object. I have Windows Vista, I thought this might be causing the problem, but if others have the same then... Debugber stops responding when I try to evaluate a ADO query or Dataset variable...on mouse over the tooltip is displayed which should show the variable value, but it shows "Evaluating..." and after I have to do Run->Program reset. If I try anything else then the whole IDE freezes and then I have to end the IDE with task manager.

Server Response from: ETNACODE01