Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Dec 2005
Posts: 2,004 Roima Denmark
Member
|
OP
Member
Joined: Dec 2005
Posts: 2,004 Roima Denmark |
I have a test window that has "crashed" because of failing to break a debug session on an 11g database. The result now is that the execution has stopped, but the green Run arrow and the red Break lightning are enabled like the debugging session was still aktive. Nothing happens whether I press the green arrow nor the red lightning.
The problem is that the test window can not be closed. I get the message: "Test Window cannot be closed, Script is still executing". If I press Terminate, nothing happens.
I am now severely limited in what I can do in PLD: no compilation, no running of new test scripts. Only option is to save all programs, selects etc. and use task manager to force PLD to end. Not a very elegant solution.
This can also happen if I run SQL scripts of test windows using a databse connected via a VPN connection and the VPN connection fails for some reason (network problems etc.)
Please make it possible to force close a test window no matter the state of the debugging session. It must always be possible to close a window and end PLD in an orderly fashion without having to use the task manager.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Aug 1999
Posts: 22,203
Member
|
Member
Joined: Aug 1999
Posts: 22,203 |
I have added this to the list of enhancement requests.
Marco Kalter Allround Automations
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Dec 2005
Posts: 2,004 Roima Denmark
Member
|
OP
Member
Joined: Dec 2005
Posts: 2,004 Roima Denmark |
Thanks. Please make it a high priority, it causes great amounts of extra work and frustrations
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Apr 2011
Posts: 49
Member
|
Member
Joined: Apr 2011
Posts: 49 |
i've experienced the same issue. i believe this works: - click the X to close the window - that terminates the debug session - then Cancel the window closure
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Dec 2012
Posts: 17
Member
|
Member
Joined: Dec 2012
Posts: 17 |
Still the probelem is persisting?? Any solution u got ??
---we are facing same issues ---Hari Developer Team
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Aug 2007
Posts: 53 Phoenix
Member
|
Member
Joined: Aug 2007
Posts: 53 Phoenix |
I have a similar problem, but I don't think the workaround from archer works for me. When I try to close the window, I get the "Test Window can't be closed..." box. Clicking Terminate give me the error: Error during debug step: ORA-03114: not connected to ORACLE Debug session terminated.
but the debug session remains; the green arrow and the red lightning bolt are both active, and clicking them gives the same error.
Can PL/SQL Developer be modified to actually terminate the debug session when it says "Debug session terminated"? (I'm using Version 9.0.6.1665)
One other note: Right-clicking on the window in the Window List shows the "Close Window" disabled, but the "Execute" is enabled. (Choosing Execute just locks up PSD as "Initializing...")
Last edited by juanian; 04/29/13 09:49 PM.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Aug 2007
Posts: 13
Member
|
Member
Joined: Aug 2007
Posts: 13 |
To confirm, this is still an issue with 10.0.2
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Aug 2007
Posts: 53 Phoenix
Member
|
Member
Joined: Aug 2007
Posts: 53 Phoenix |
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Dec 2014
Posts: 1
Member
|
Member
Joined: Dec 2014
Posts: 1 |
This issue is still with 10.0.5. is there any plan to get it corrected? every time have to terminate the process from task management, it's very frustrating!
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Apr 2003
Posts: 517 Portland, OR, USA
Member
|
Member
Joined: Apr 2003
Posts: 517 Portland, OR, USA |
When I get this problem, I open another PL/SQL Developer program, open the sessions window and then kill the hung test session. That has always worked as far as I remember. It's still not elegant and it's a hassle, but I don't lose anything else this way.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Jun 2015
Posts: 7
Member
|
Member
Joined: Jun 2015
Posts: 7 |
This is still an issue with 11.0.0.1762. Thx for mike. In win'7 sometimes is possible to mouse right-click on taskbar, choose "close window" and next "try to restore".
The simplest workaround would be: to set run state of SQL/cmd window to "no" while not connecting to database and break button is clicked.
Last edited by AWegierski; 06/18/15 11:15 AM.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Jan 2013
Posts: 52 Greece
Member
|
Member
Joined: Jan 2013
Posts: 52 Greece |
[quote=davqi]This issue is still with 10.0.5. is there any plan to get it corrected? every time have to terminate the process from task management, it's very frustrating![/quote]
+1
Still an issue at the latest version. Please Marco have a look at it.
Last edited by Arky; 09/07/15 09:52 AM.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Mar 2007
Posts: 12 Swiss
Member
|
Member
Joined: Mar 2007
Posts: 12 Swiss |
I have the same problem. I cannot always close or stop a test window that doesn't answer anymore.
Please fix the problem, it's really frustrating us.
Last edited by Laurent Feltz; 01/25/16 10:02 AM.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Mar 2008
Posts: 2 Onoenta, New York
Member
|
Member
Joined: Mar 2008
Posts: 2 Onoenta, New York |
I am on 11.0.4.1774 02.15491 and test window keeps freezing at the end of the test run. Stepping through with debug.
Two things that equal the same thing are equal to each other
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Mar 2005
Posts: 7 Nebraska, USA
Member
|
Member
Joined: Mar 2005
Posts: 7 Nebraska, USA |
This is a very annoying issue. Makes my productivity go way down. Is this a bug in PL/SQL Developer or in the way that we install it or in the way we install the Oracle client or ....?
Marco or someone please post a way for us to trouble shoot this. I would think with the minimal number of posts that not every user is experiencing this issue.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Mar 2005
Posts: 7 Nebraska, USA
Member
|
Member
Joined: Mar 2005
Posts: 7 Nebraska, USA |
If found a resolution to this issue. In case someone else stumbles upon this thread. I was running the 10g oracle client with and 11g database (long story on why so no room for details here ;>). I upgrade my Oracle client to the same version as the DB and the debugger is behaving as expected.
So make sure that your Oracle Client matches the version of the DB that you are debugging on.
PL/SQL Developer Version 11.0.6.1776 12.100110 - Unlimited user license Service Contract: 5/1/2016 Windows 7 (64-bit) Build 7601 (Service Pack 1)
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Aug 2007
Posts: 53 Phoenix
Member
|
Member
Joined: Aug 2007
Posts: 53 Phoenix |
Sadly, it appears that this will never be fixed. I recently upgraded to Version 14 and just ran into the problem (again). Checking the forums, I still see my original post from 13 years ago ( Debug session 'stuck' on ORA-03114 - not connected to oracle loop ). The problem can occur when a debugging session is left 'executing' too long, and Oracle times out the session. So, the previous workarounds (like killing the Oracle session) won't work, because Oracle has already killed the session on the database side. I would have thought it should be a pretty 'simple' fix in PL/SQL Developer - when the user tries to close the window and receives the "Test Window cannot be closed, Script is still executing", and then clicks the Terminate button, and gets the error: Error during debug step: ORA-03114: not connected to ORACLE Debug session terminated.
clear the 'flag' that indicates that the session is still executing. Since the session is already disconnected from Oracle, there is no need to be concerned about a dangling process on the Oracle side. The only way I can see that will get out of the situation is to kill the PL/SQL Developer app in Task Manager. That is a bit drastic, but since there is no known work-around, that is the only way to solve the issue. (Trying to close the window from the Task Bar (or by clicking the X in the upper right of the application) just pops up the same "Test Window cannot be closed, Script is still executing" dialog.) This problem should be very simple to reproduce - start a Debug session, disconnect the PC from the network, and try to do a step. Once the connection times out, the error should occur. I'm assuming that fixing this is too low on the list of bug fixes for AA, likely because an insufficient number of people have let AA know that they have this problem. So if you do have this problem, let AA know, so it might inch up a tad on their 'bugs to fix' list. Thanks Juan
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Jan 2013
Posts: 52 Greece
Member
|
Member
Joined: Jan 2013
Posts: 52 Greece |
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Jan 2006
Posts: 66 Lithuania
Member
|
Member
Joined: Jan 2006
Posts: 66 Lithuania |
Dalius
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Jul 2013
Posts: 8
Member
|
Member
Joined: Jul 2013
Posts: 8 |
And another +1
We are working via VPN a lot and every time the connection drops and you do something like debugging you have to kill those sessions, sometimes it works, sometimes the only way out is killing PL/SQL Developer via the task manager. Can't close the window or application while debugging, can't stop debugging, can't disconnect, can't do anything. Handling connection errors during compares could be improved too.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Jan 2020
Posts: 2
Member
|
Member
Joined: Jan 2020
Posts: 2 |
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Dec 2020
Posts: 1
Member
|
Member
Joined: Dec 2020
Posts: 1 |
+1 Have had this issue forever with PL/SQL Developer. It is a great tool but the one feature that I like the best gives me the most trouble and that is a hung debug window (for any reason). Will highly appreciate if this is fixed.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Sep 2019
Posts: 34 Spain
Member
|
Member
Joined: Sep 2019
Posts: 34 Spain |
+1 I have the same problem
------------------------------- Elias F.M.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Apr 2022
Posts: 1
Member
|
Member
Joined: Apr 2022
Posts: 1 |
Currently using PL/SQL Developer V13, and the issue still exists. Is there a fix for this, and if not maybe some explanation? Is it necessary for the connected user to have ALTER SESSION privilege? because this is required to use the workaround to open another PL/SQL Developer instance and kill the rogue test session.
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Nov 2022
Posts: 5
Member
|
Member
Joined: Nov 2022
Posts: 5 |
Most annoying bug occurring on a daily basis to date, which should be solvable even in a suboptimal manner, regardless if it's related to some obscure oci driver bug. Sadly, it appears that this will never be fixed. I recently upgraded to Version 14 and just ran into the problem (again). Checking the forums, I still see my original post from 13 years ago ( Debug session 'stuck' on ORA-03114 - not connected to oracle loop ). The problem can occur when a debugging session is left 'executing' too long, and Oracle times out the session. So, the previous workarounds (like killing the Oracle session) won't work, because Oracle has already killed the session on the database side. I would have thought it should be a pretty 'simple' fix in PL/SQL Developer - when the user tries to close the window and receives the "Test Window cannot be closed, Script is still executing", and then clicks the Terminate button, and gets the error: Error during debug step: ORA-03114: not connected to ORACLE Debug session terminated.
clear the 'flag' that indicates that the session is still executing. Since the session is already disconnected from Oracle, there is no need to be concerned about a dangling process on the Oracle side. The only way I can see that will get out of the situation is to kill the PL/SQL Developer app in Task Manager. That is a bit drastic, but since there is no known work-around, that is the only way to solve the issue. (Trying to close the window from the Task Bar (or by clicking the X in the upper right of the application) just pops up the same "Test Window cannot be closed, Script is still executing" dialog.) This problem should be very simple to reproduce - start a Debug session, disconnect the PC from the network, and try to do a step. Once the connection times out, the error should occur. I'm assuming that fixing this is too low on the list of bug fixes for AA, likely because an insufficient number of people have let AA know that they have this problem. So if you do have this problem, let AA know, so it might inch up a tad on their 'bugs to fix' list. Thanks Juan
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Dec 2022
Posts: 6
Member
|
Member
Joined: Dec 2022
Posts: 6 |
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Jan 2006
Posts: 66 Lithuania
Member
|
Member
Joined: Jan 2006
Posts: 66 Lithuania |
Dalius
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Jan 2003
Posts: 88
Member
|
Member
Joined: Jan 2003
Posts: 88 |
+1
So irritating... SQL Developer doesn't seem to suffer from this.
Andy
|
|
|
Re: Test window can not be closed when debug has gone wrong or connection has been lost
|
Joined: Dec 2001
Posts: 236 berlin
Member
|
Member
Joined: Dec 2001
Posts: 236 berlin |
+1
It is possible to kill the session(s) on the database server in order to be able to interact with the program again. However, debugging is no longer possible until plsd is restarted (debug = run).
|
|
|
|
|