Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348658

Summary: Running Xdebug in an external browser with the "Variables" tab view open causes an unexpected termination of script.
Product: z_Archived Reporter: Kevin Moore <kevin.moore.138>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: euthanasia_waltz, hartmut.jacobi, Michael_Rennie, squibs
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
eclipse php xdebug debugger error unexpected termination of script none

Description Kevin Moore CLA 2011-06-07 18:03:33 EDT
Build Identifier: 3.6.2

While debugging a php script using xdebug, if the variables tab is open than apache crashes and displays an error "Unexpected termination of script. Debugging ended." Also if you do not have variables tab open and you are stepping through the code and then you switch to the variables tab it will still crash. 

Reproducible: Always

Steps to Reproduce:
1.Run an xdebug session with some break points.
2.Open the variables tab view.
3.Step through the code while variables tab is active.
Comment 1 Kevin Moore CLA 2011-06-07 18:39:46 EDT
I was also using XAMPP version 1.7.4 with php 5.3.5
Comment 2 DJ Houghton CLA 2011-06-08 09:16:05 EDT
Not sure if this is a generic debug problem or indicative of a problem with interactions in PHP. Moving to Platform/Debug for comment.
Comment 3 Toshihiro Izumi CLA 2011-06-08 21:04:40 EDT
bug 329230
Comment 4 SQUIBS CLA 2011-08-19 09:39:03 EDT
Someone suggested disabling Show super globals in variable view
in this thread:
http://www.agilepman.com/2010/08/unexpected-termination-of-script-debugging-ended/

I can confirm this works for me (although not having access to super globals is obviously not ideal).
Comment 5 Hartmut Jacobi CLA 2021-11-27 12:39:30 EST
Created attachment 287582 [details]
eclipse php xdebug debugger error unexpected termination of script

As of 2011 reported the actual Eclipse Version 
4.21.0
Crashes while debugging.
The workaround with the hide of the variables did not work.