Community
Participate
Working Groups
Hi, while fixing bug 528162, I saw another problem: when you try to set values containing quotes and backslashes, you'll end up with a popup "program under debug rejected value change". It seems that we need to protect values before sending them to Xdebug, even if there are base64-encoded. Sadly the documentation of Xdebug doen't tell much more how to escape values before (base64) encoding them, so let's try to re-use most of the DBGpTarget.escapeFullName() method introduced by patch for bug 528162. Thierry.
New Gerrit change created: https://git.eclipse.org/r/155646
Gerrit change https://git.eclipse.org/r/155646 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=2907bd3246731e9ededb6875d8ded4946fd73873
Fixed, at least with Xdebug >= 2.7.2 Now you can write values with spaces, double-quotes or backslashes in a variable's value field of the PHP debugger view. Here are some examples of newly supported values: a b "" \0 \\\" Thierry.