You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually it's not a bug.
If you look at the Debugger status line you will see
"
result: debuggee_wait_loop ended)(STOPPED AT ROUTINE EXIT)
"
If you look at the result of $refresh variables you will see the message
"
mysql>$refresh variables;
Routine has stopped. Suggested next step is: $EXIT
"
One way to look at it is:
$refresh can only work if you're at a breakpoint.
Breakpoints can only happen for executable statements.
But there are no executable statements because the procedure ended.
One way to work around it is:
Put an executable statement at the end and put a breakpoint on it.
I will keep this open as a feature request by
setting the "enhancement" label.
It might be possible to add an option for
"breakpoint on routine exit" or
"always refresh variables on routine exit".
If multiple people request this, it will be expedited.
With the folowing procedure :
when executing :
you will have the folowing output value :
instead of
Edited to replace boolean by tinyint as value 2 and 3 could be confusing for a boolean value.... (even if boolean doesn't exist in SQL)
The text was updated successfully, but these errors were encountered: