You can also type in an expression by right-clicking inside the Expressions view and selecting "Add Watch Expression".
Important Note: There appears to be a bug when you try to launch a debug session with existing Watch Expressions. You get an error "Unexpected termination of script, debugging ended". To avoid this error, just delete all Watch expressions, using the "Remove All Expressions" button in the toolbar, prior to starting a new debug session.
To finish up, delete the Watch expression and press the red Terminate button to stop the debug session.
eclipse 下高度PHP经常会出现"Unexpected termination of script, debugging ended"错误, 这是eclipse 的一个BUG, 解决的办法很简单, 把所有的DEBUG Expressions删除掉就可以了.
本文介绍了一个在Eclipse中调试PHP代码时遇到的常见错误“Unexpected termination of script, debugging ended”的解决方案。此错误通常由存在的Watch Expressions引起,解决方法是通过删除所有Watch Expressions来避免启动调试会话时出现此问题。
876

被折叠的 条评论
为什么被折叠?



