Print Thread
Page 1 of 3 1 2 3
Break button is not working.
#60867 01/02/20 10:15 AM
Joined: Jan 2020
Posts: 1
D
Member
OP Offline
Member
D
Joined: Jan 2020
Posts: 1
Hi all,

I have problem with PL/SQL Developer. Break button is not working for me. Icon is active (red), but after executing some query and click on the button, nothing happened. Also query never stop and PL/SQL Developer crash after some time. All queries are working on coleague computer with same preferences and break button is working for him too. Any ideas what to do with this?

Re: Break button is not working.
Dragonba #60870 01/03/20 09:59 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
Can you go to Preferences > Oracle / Connection and check how the "Session Mode" option is set? If it is set to "Single Session", can you change it to "Dual Session" or "Multi Session", restart PL/SQL Developer, and try again?


Marco Kalter
Allround Automations
Re: Break button is not working.
Marco Kalter #61614 05/12/20 08:57 PM
Joined: May 2012
Posts: 32
K
Member
Offline
Member
K
Joined: May 2012
Posts: 32
I am having the same issue on PL/SQL Developer 14 w/ Oracle 19c (19.3) client connecting to a 12c database (12.2). I am able to kill the session from another window and then I get a TNS bad packet error. I am using multi-session mode.

Re: Break button is not working.
Kevin Seymour #61617 05/13/20 08:35 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
To obtain some more diagnostic information, can you modify the PL/SQL Developer shortcut and add the DebugSQL parameter? For example:

"C:\Program Files\PLSQL Developer 14\plsqldev.exe" DebugSQL

Reproduce the problem and send me the debug.txt file that is generated in the %APPDATA%\PLSQL Developer 14 directory (e.g. C:\Users\<User>\AppData\Roaming\PLSQL Developer 14).



Marco Kalter
Allround Automations
Re: Break button is not working.
Marco Kalter #61627 05/14/20 05:08 PM
Joined: May 2012
Posts: 32
K
Member
Offline
Member
K
Joined: May 2012
Posts: 32
I have sent an email to your support address.

Re: Break button is not working.
Kevin Seymour #61634 05/15/20 08:53 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
Thanks. In the log file I can see that the break is sent, and that there is no subsequent "ORA-01013: user requested cancel of current operation" exception, which one would expect. Not all operations allow a break though.

As a test, can you run the following script in a SQL Window or Test Window and try to break it?

Code
begin
  dbms_lock.sleep(seconds => 60);
end;
This procedure will "sleep" for 60 seconds, and you should be able to break it instantaneously.

Let me know how this turns out.


Marco Kalter
Allround Automations
Re: Break button is not working.
Marco Kalter #61650 05/18/20 04:11 PM
Joined: May 2012
Posts: 32
K
Member
Offline
Member
K
Joined: May 2012
Posts: 32
It behaves the same as trying to kill a query and hangs. I am 22 minutes into it "running"; eventually the connection will time out and die.

Last edited by Kevin Seymour; 05/18/20 04:14 PM.
Re: Break button is not working.
Kevin Seymour #61651 05/18/20 04:25 PM
Joined: May 2012
Posts: 32
K
Member
Offline
Member
K
Joined: May 2012
Posts: 32
Some other observations:

If I am in an SQL window and hit break, nothing happens and the query runs forever (or until the connection idles and dies). If I try to close the tab I get a prompt something is running and am offered a Terminate button. Clicking that button hangs the entire application.

If I am in a TEST window and hit break it behaves the same as the SQL window. If I try to close the tab I get the same prompt as the SQL window except it DOES actually terminate the PL/SQL block.

Hopefully this adds some insight.

Last edited by Kevin Seymour; 05/18/20 04:25 PM.
Re: Break button is not working.
Kevin Seymour #61656 05/19/20 08:56 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
Maybe this is an environment problem. Can you start PL/SQL Developer, connect to this database, go to Help > Support Info and send me the text from the "Info" tab page?


Marco Kalter
Allround Automations
Re: Break button is not working.
Marco Kalter #61661 05/19/20 01:00 PM
Joined: May 2012
Posts: 32
K
Member
Offline
Member
K
Joined: May 2012
Posts: 32
I sent you another email.

Page 1 of 3 1 2 3

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.032s Queries: 15 (0.010s) Memory: 2.5616 MB (Peak: 3.0419 MB) Data Comp: Off Server Time: 2024-05-19 18:59:53 UTC
Valid HTML 5 and Valid CSS