Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329230 - Opening Variable view causes "unexpected termination of script, debuging ended" and no Variables/values are shown.
Summary: Opening Variable view causes "unexpected termination of script, debuging ende...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 critical with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-01 19:29 EDT by Vladimir CLA
Modified: 2020-05-14 11:09 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir CLA 2010-11-01 19:29:12 EDT
Build Identifier: Eclipse for PHP Developers    Build id: 20100218-1602

sw config 
PHP 5.3.3 with php_xdebug-2.1.0-5.3-vc6.dll extension.
apache2.2 

procedure:
1. open eclipse with some script.
2. turn off variables view.
3. debug this script
4. stop in some breakpoint
5. show variables view.
observed result:
"unexpected termination of script, debuging ended" dialog pops up and variables are not shown.
expected result:
variables/values are displayed.

comment:
if you don't turn off the variables view but just debug the code the dialog will be displayed immediately and no variables will be shown.

 


Reproducible: Always

Steps to Reproduce:
1. open eclipse with some script.
2. turn off variables view.
3. debug this script
4. stop in some breakpoint
5. show variables view.
observed result:
"unexpected termination of script, debuging ended" dialog pops up and variables are not shown. ( XDebugMessage_unexpectedTermination )
expected result:
variables/values are displayed.
Comment 1 Toshihiro Izumi CLA 2011-06-08 21:06:18 EDT
0000669: eclipse / xampp crsahes when selecting 'variables' tab - MantisBT <http://bugs.xdebug.org/view.php?id=669>
0000658: Eclipse/Xdebug crashes when debugging drupal - MantisBT <http://bugs.xdebug.org/view.php?id=658>
Comment 2 Yannick Fonjallaz CLA 2012-03-15 09:27:44 EDT
Ok so I made a few tests:
I had this bug with eclipse Indigo (pdt 3.0) and Helios (pdt 2.2) with php 5.4.0 and xdebug.
Note that the time execution limit wasn't removed by the debugger while debugging... So I though it may be a php problem.

I rolled back to php 5.3.8 with xdebug and pdt 2.2 and it works!

So it seems to be a bug somewhere between php 5.4 and xdebug, but the original bug report here is about php 5.3.3...

Anyway, Vladimir, try php 5.3.8 or 5.3.10 and xdebug, it should work properly.

Cheers,
fonji
Comment 3 Dawid Pakula CLA 2016-05-22 13:31:54 EDT
Bug has been fixed on XDebug side long time ago.

See: https://bugs.xdebug.org/view.php?id=658
Comment 4 Sylvia Tancheva CLA 2016-06-21 06:21:30 EDT
I could not reproduce with more recent configuration so I'm closing it.
If anyone can reproduce please reopen and give more recent information.