View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000368 | Xdebug | Uncategorized | public | 2008-04-18 18:36 | 2009-10-17 17:40 |
Reporter | derick | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0000368: Xdebug's debugger bails out on a parse error with the eval command. | ||||
Description | Yesterday someone pointed out an issue with VS.Php and XDebug that I I'm having an issue figuring out what's wrong. I'm including a log file so you can take a look at the xdebug communication but it boils down to this: I put a breakpoint in a static method call like this: fofo::relocate("few", "324"); VS.Php asks XDebug to evaluate the expression fofo::relocate XDebug does not like it and responds with: <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug=" This basically stops the debugger from this point on. I'm not sure why an eval call would make xdebug stop debugging. I also noticed that the response does not include a transaction_id. Is this acceptable in the protocol? If so, where can I find more info on when can I expect responses with no transaction_ids. Any suggestions or advice you could provide me would be greatly appreciated. | ||||
Additional Information | <- breakpoint_set -i 8 -t line -f file:///C:/Users/juanc/Documents/Visual%20Studio%202008/Projects/tutorial/tutorial/index.php -n 15 -r 0 <- breakpoint_set -i 9 -t line -f file:///C:/Users/juanc/Documents/Visual%20Studio%202008/Projects/tutorial/tutorial/public_html/cms/main.php -n 3 -r 0 <- run -i 10 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="10" status="break" reason="ok"><xdebug:message filename="file:///C:/Users/juanc/Documents/Visual%20Studio%202008/Projects/tutorial/tutorial/index.php" lineno="15"></xdebug:message></response> <- stack_get -i 11 <- eval -i 13 -- Zm9mbw== <- eval -i 14 -- Zm9mbzo6cmVsb2NhdGU= <- context_get -c 0 -i 15 <- run -i 15 | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.2.6 | ||||
|
using php_xdebug-2.0.5-5.3-vc9 on Vista Ultimate SP1 32 bit Xdebug log ends with <- context_get -i 5012 -c 0 As the result there's no way to start NetBeans debugging since Xdebug disconnects immediately after start. |
|
Fixed in CVS HEAD. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-04-18 18:36 | derick | New Issue | |
2009-08-16 12:10 | ksafonov | Note Added: 0001040 | |
2009-10-17 17:40 | derick | Note Added: 0001099 | |
2009-10-17 17:40 | derick | Status | new => closed |
2009-10-17 17:40 | derick | Resolution | open => fixed |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |