| Summary: | Kdev-Xdebug enters to a loop when an invalid variable is inspected | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Waldo Cancino <wcancino> |
| Component: | Language Support: PHP | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kdev-xdebug/8d7c15e54147176bb21bc8755babced75eb3b52d | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
Heya Waldo, the kdev-xdebug component unfortunately isn't very well maintained. If you could have a look at the issue yourself, that'd be appreciated. Learn more how to contribute here: https://www.kdevelop.org/contribute-kdevelop Git commit 8d7c15e54147176bb21bc8755babced75eb3b52d by Kevin Funk, on behalf of Waldo Cancino. Committed on 24/10/2017 at 16:26. Pushed by kfunk into branch 'master'. Do not emit statechanged when state has not changed This correct the loop in Xdebug plugin Reviewers: kfunk, apol Reviewed By: apol Subscribers: apol, ngraham, kdevelop-devel Differential Revision: https://phabricator.kde.org/D8448 M +3 -2 connection.cpp https://commits.kde.org/kdev-xdebug/8d7c15e54147176bb21bc8755babced75eb3b52d |
Hello, I use the Xdebug Kdevelop plugin in both 4.x and 5.x (master). When I try to evaluate an expression in Xdebug ( i.e. $a+$b ), the debugger enter in a loop and renders the interface unresponsive. The same happens if, for instance, I make a typo in the variable name. This problems seems to happen only in the Xdebug component, I try the same in c/python debuggers an error is displayed when typing an invalid expression. Simple way to reproduce it <?php /** * Documentation, License etc. * * @package phptemplate */ $a = 1; $b = 2; echo("SUM = ".($a+$b) ); ?> Breakpoint on the echo line, then start xdebug and type "c" in the variable inspector ==> unresponsive interface.