The information in this article applies to:
SYMPTOMSWhile using the SQL Debugger to debug a Trigger, the debugger doesn't break on each breakpoint that you have set. CAUSEThe SQL Debugger allows you to set breakpoints on any line of code inside a Trigger regardless of whether it is a valid line of code. RESOLUTION
The breakpoints that the debugger skips are placed on invalid lines of
code.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 6.0 for Windows. MORE INFORMATION
This bug only pertains to Triggers. While debugging a Stored Procedure, the
debugger only allows you to set breakpoints on valid lines of code. If you
try to set a breakpoint on an invalid line of code while debugging a stored
procedure, the breakpoint is moved to the next valid debuggable line of SQL
code.
When you are using a trigger and setting breakpoints before you start
debugging, you can set breakpoints anywhere in the code including non-
debuggable statements. The warning listed above is not shown and invalid
breakpoints are not removed during debugging.
Sample Code
Additional query words: kbvc500bug kbvc600fix kbEEdition kbSQL kbDebug kbtools
Keywords : kbEEdition kbVC kbVC500bug kbVC600fix |
Last Reviewed: May 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |