Microsoft KB Archive/169402

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


FIX: Breakpoints Not Allowed on Certain Valid SQL Statements

Article ID: 169402

Article Last Modified on 10/16/2002



APPLIES TO

  • Microsoft Visual C++ 4.2 Enterprise Edition



This article was previously published under Q169402

SYMPTOMS

When trying to debug stored procedures, you may run into problems when setting breakpoints on the following valid SQL commands.

   BEGIN TRANSACTION
   COMMIT TRANSACTION
   ROLLBACK TRANSACTION
   SAVE TRANSACTION
                

CAUSE

The SQL debugger's lexer, or command parser, does not recognize the commands listed above.

RESOLUTION

The problem has been fixed in Microsoft Visual C++, Enterprise Edition, version 5.0. All the keywords listed except BEGIN are valid lines for breakpoints. BEGIN is not valid because it can be used to delimit WHILE loops and other multi-line SQL statements.

STATUS

Microsoft has confirmed this to be a bug in Microsoft Visual C++, Enterprise Edition, version 4.2. This bug has been corrected in Microsoft Visual C++, Enterprise Edition, version 5.0.


Additional query words: kbvc420bug kbvc500fix

Keywords: kbbug kbfix kbsqlprog kbeedition kbvc500fix kbdebug KB169402