eclipse 调试BUG

本文介绍了一个在Eclipse中调试PHP代码时遇到的常见错误“Unexpected termination of script, debugging ended”的解决方案。此错误通常由存在的Watch Expressions引起,解决方法是通过删除所有Watch Expressions来避免启动调试会话时出现此问题。

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删除掉就可以了.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值