Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348658 - Running Xdebug in an external browser with the "Variables" tab view open causes an unexpected termination of script.
Summary: Running Xdebug in an external browser with the "Variables" tab view open caus...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 18:03 EDT by Kevin Moore CLA
Modified: 2021-11-27 12:39 EST (History)
4 users (show)

See Also:


Attachments
eclipse php xdebug debugger error unexpected termination of script (159.34 KB, image/png)
2021-11-27 12:39 EST, Hartmut Jacobi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.