문제

Iam using DBGp protocol to communicate with XDebug and so far its great. I can break on specific line numbers with no difficulty. I tried to make a watch and got error breakpoint type is not supported, which is clear that XDebug currently does not implement it. What made me ask this is, I have seen many IDEs with this feature (Eclipse included) and wondered how do they implement it. I want to watch expression like

$criteria = new CDbCriteria();

I want IDE to break there so that I can update a watch window with new value.

도움이 되었습니까?

해결책

XDebug does not support watches. So I had to add that logic to my app to fool around breakpoints to act as watches

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top