Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug utPLSQL test #87

Closed
PhilippSalvisberg opened this issue Aug 25, 2019 · 0 comments · Fixed by #106
Closed

Debug utPLSQL test #87

PhilippSalvisberg opened this issue Aug 25, 2019 · 0 comments · Fixed by #106
Assignees
Milestone

Comments

@PhilippSalvisberg
Copy link
Member

Current Behavior

In version 1.1.0 you can run utPLSQL tests. But if you want to debug a utPL/SQL test, some manual steps are involved. There are several ways to do that.

One way is to run a utPLSQL test in a worksheet change the code to a simple anonymous PL/SQL block (no SQL*Plus statements are allowed) to enable the Debug... context menu option and then select this menu option to launch the debugger.

Example

1. Launch Debugger

utplsql_1_launch_debugger

2. Debugging Session

utplsql_2_debugging_session

Expected Behavior

Launch the Debugger directly

  1. From the context menu of the Database Connections navigator tree, for one or multiple selected nodes for which a "Run utPLSQL test" menu item is available in v1.1.0.

  2. From the Worksheet or PL/SQL editor via context menu, when the "Run utPLSQL test" menu item is available in v1.1.0.

  3. From the Realtime Reporter via toolbar.

  4. From the Realtime Reporter via context menu on the overview table for the selected test(s).

Out of Scope

The following is not in scope of the utPLSQL for SQL Developer extension. At least they are not considered part of this issue.

Managing Breakpoints

Breakpoints need to be set in advance or during the debugging session.

Compiling PL/SQL Code for Debug

This needs to be done before starting a debug session. Either for chosen components via SQL Developer or via a script recompiling all relevant code for debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant