Connector/Net Visual Studio Integration
1845
Figure 20.26. Function Stepping (2 of 2)
• To step into the code of a condition handler, the condition must be triggered in the rest of the MySQL
routine.
• The next statement to be executed is highlighted in yellow.
• To continue stepping, you can choose between Step Into (by pressing F11), Step Out (by pressing
F10) or Step Over (by pressing Shift+F11).
• You can step out of any of functions, triggers or stored procedures. If you step from the main routine,
it will run that routine to completion and finish the debug session.
• You can step over stored procedure calls, stored functions, and triggers. (To step over a trigger, step
over the statement that would cause the trigger to fire.)
• When stepping into a single statement, the debugger will step into each individual function invoked
by that statement and each trigger fired by that statement. The order in which they are debugged is
the same order in which the MySQL server executes them.
• You can step into triggers triggered from
INSERT
,
DELETE
,
UPDATE
, and
REPLACE
statements.
• Also, the number of times you enter into a stored function or trigger depends on how many rows are
evaluated by the function or affected by the trigger. For example, if you press F11 (Step Into) into
an
UPDATE
statement that modifies three rows (calling a function for a column in the
SET
clause,
thus invoking the function for each of the three rows), you will step into into that function three times
in succession, once for each of the rows. You can accelerate this debug session by disabling any
breakpoints defined in the given stored function and pressing Shift+F11 to step out. In this example,
the order in which the different instances of the stored function are debugged is server-specific: the
same order used by the current MySQL server instance to evaluate the three function invocations.
Breakpoints
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...