Re: PHP Debugging in Quanta+
Alexander Yurchik <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Message-ID | <[email protected]> |
Re: [Quanta] PHP Debugging in Quanta+ Отправитель: Alexander Yurchik <[email protected]> Получатель: Quanta users list <[email protected]> Дата: Сегодня 17:10:50 hi My stacktrace is below. I don't think this is configuration issue. I have been working with xdebug in comodo, eclipse and all was fine :) I think we are close to get it working. Stacktrace - some text in bold to help you find error ;) quanta Quanta: DTD reading: 92 Quanta (debugger): [virtual void QuantaDebuggerDBGp::readConfig(QDomNode)] , m_errormask = 0 QMetaObject::findSignal:QuantaDebuggerDBGp: Conflict with DebuggerClient::updateStatus(DebuggerUI::DebuggerStatus) Quanta (debugger): [virtual void QuantaDebuggerDBGp::startSession()] Quanta (debugger): [virtual void DBGpNetwork::sessionStart(bool, const QString&, const QString&)] , m_server: (nil), m_socket(nil) Quanta: Add recent project: file:///home/alex/public_html/development.consumerinformant.com/ci.webprj : projectName= ci Quanta: Parsing time (6 lines): 1 ms Quanta: NN after parse = 3baseNode : 0x9250f30 Quanta: Node objects before delete = 2 ; list count = 138277224 Quanta: Node objects after delete = 0 ; list count = 138277224 Quanta: Parsing time (0 lines): 0 ms Quanta: NN after parse = 1baseNode : 0x9274a80 QMetaObject::findSignal:QuantaDebuggerDBGp: Conflict with DebuggerClient::updateStatus(DebuggerUI::DebuggerStatus) Quanta (debugger): [void DBGpNetwork::slotConnectionClosed()] , m_server: (nil), m_socket(nil) QObject::disconnect: Unexpected null parameter QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) to KHTMLPart::slotActiveFrameChanged( KParts::Part * ) Quanta: Node objects before delete = 1 ; list count = 138277224 Quanta: Node objects after delete = 0 ; list count = 138277224 Quanta: Parsing time (0 lines): 0 ms Quanta: NN after parse = 1baseNode : 0x8e8c1f8 Quanta: Add recent project: file:///var/www/test/test.webprj : projectName= test Quanta: Delayed text changed called. ........................ ........................ Quanta (debugger): [virtual void QuantaDebuggerDBGp::readConfig(QDomNode)] , m_errormask = 0 Quanta (debugger): [virtual void QuantaDebuggerDBGp::showConfig(QDomNode)] , m_errormask = 0 Quanta (debugger): [void DBGpNetwork::slotConnectionClosed()] , m_server: (nil), m_socket(nil) Quanta (debugger): [virtual void QuantaDebuggerDBGp::readConfig(QDomNode)] , m_errormask = 0 QMetaObject::findSignal:QuantaDebuggerDBGp: Conflict with DebuggerClient::updateStatus(DebuggerUI::DebuggerStatus) Quanta (debugger): [virtual void QuantaDebuggerDBGp::startSession()] Quanta (debugger): [virtual void DBGpNetwork::sessionStart(bool, const QString&, const QString&)] , m_server: (nil), m_socket(nil) Quanta: Node objects before delete = 2 ; list count = 2 Quanta: Node objects after delete = 0 ; list count = 0 Quanta: Parsing time (5 lines): 1 ms Quanta: NN after parse = 4baseNode : 0x90159d0 Quanta (debugger): [void DBGpNetwork::slotReadyAccept()] , m_server: 0x9260260, m_socket(nil) Quanta (debugger): [void DBGpNetwork::slotReadyAccept()] , ready Quanta (debugger): [void DBGpNetwork::connected()] Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <init (455 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/test/index.php" language="PHP" protocol_version="1.0" appid="5474" idekey="alex"><engine version="2.0.2-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><! [CDATA[Copyright (c) 2002-2007 by Derick Rethans]]></copyright></init> Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: feature_get -i 1 -n supports_async Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: feature_get -i 2 -n breakpoint_set Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: feature_get -i 3 -n supports_postmortem Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: typemap_get -i 4 Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: feature_get -i 5 -n quanta_initialized Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (241 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="1" feature_name="supports_async" supported="1"><! [CDATA[0]]></response> Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (241 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="2" feature_name="breakpoint_set" supported="1"><! [CDATA[1]]></response> Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: breakpoint_set -i 6 -t line -f /test/lib.inc -n 3 -- Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (246 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="3" feature_name="supports_postmortem" supported="1"><! [CDATA[1]]></response> Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (670 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="typemap_get" transaction_id="4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><map name="bool" type="bool" xsi:type="xsd:boolean"></map><map name="int" type="int" xsi:type="xsd:decimal"></map><map name="float" type="float" xsi:type="xsd:double"></map><map name="string" type="string" xsi:type="xsd:string"></map><map name="null" type="null"></map><map name="array" type="hash"></map><map name="object" type="object"></map><map name="resource" type="resource"></map></response> Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (245 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="5" feature_name="quanta_initialized" supported="0"><! [CDATA[0]]></response> Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: stack_get -i 7 Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (201 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="6" id="54740001"></response> Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (182 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="7"></response> Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: step_out -i 8 Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (292 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_out" transaction_id="8" status="break" reason="ok"><xdebug:message filename="file:///var/www/test/lib.inc" lineno="3"></xdebug:message></response> Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: stack_get -i 9 Quanta (debugger): [void QuantaDebuggerDBGp::setExecutionState(const QString&)] break Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: break -i 10 Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: feature_get -i 11 -n profiler_filename Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (386 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="9"><stack where="hi" level="0" type="file" filename="file:///var/www/test/lib.inc" lineno="3"></stack><stack where="{main}" level="1" type="file" filename="file:///var/www/test/index.php" lineno="4"></stack></response> Quanta: Node objects before delete = 4 ; list count = 4 Quanta: Node objects after delete = 0 ; list count = 0 Quanta: Parsing time (4 lines): 1 ms Quanta: NN after parse = 3baseNode : 0x90159d0 Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (255 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="break" transaction_id="10"><error code="4"><message><![CDATA[unimplemented command]]></message></error></response> Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: stack_get -i 12 Quanta (debugger): [void QuantaDebuggerDBGp::setExecutionState(const QString&)] Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: feature_get -i 13 -n profiler_filename Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (245 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="11" feature_name="profiler_filename" supported="0"><! [CDATA[0]]></response> Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (387 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="12"><stack where="hi" level="0" type="file" filename="file:///var/www/test/lib.inc" lineno="3"></stack><stack where="{main}" level="1" type="file" filename="file:///var/www/test/index.php" lineno="4"></stack></response> Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (245 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="13" feature_name="profiler_filename" supported="0"><! [CDATA[0]]></response> Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: run -i 14 Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (206 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="14" status="stopped" reason="ok"></response> Quanta (debugger): [void QuantaDebuggerDBGp::setExecutionState(const QString&)] stopped Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: stack_get -i 15 Quanta (debugger): [quantadebuggerdbgp.cpp:252] <?xml version="1.0" encoding="iso-8859-1"?> <respo (262 bytes) Quanta (debugger): <?xml version="1.0" encoding="iso-8859-1"?> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="15"><error code="5"><message><![CDATA[command is not available]]></message></error></response> Quanta: Node objects before delete = 2 ; list count = 2 Quanta: Node objects after delete = 0 ; list count = 0 Quanta: Parsing time (5 lines): 1 ms Quanta: NN after parse = 4baseNode : 0x90159d0 Quanta (debugger): [long int DBGpNetwork::sendCommand(const QString&, const QString&)] , sending: run -i 16 Quanta (debugger): [void DBGpNetwork::slotError(int)] , m_server: 0x9260260, m_socket0x84373b8 Quanta (debugger): [void DBGpNetwork::slotConnectionClosed()] , m_server: 0x9260260, m_socket0x84373b8 KCrash: Application 'quanta' crashing... alex@kubuntu-laptop:~$ n 3 декабря 2007, Andras Mantia wrote: > > HI > > > > Its me again :) > > Finally I have a time to tell you: it still won't work with xdebug. > > Since you did last changes regarding Xdebug in quanta - xdebug dont > > crashing, > > but it still won't stop on breakponts. > > > > I have to compile it again to provide full backtrace. > > Hi, > > I'm pretty sure there is some configuration problem here. Once I'm home, > I will write the howto and the configuration option I used for XDebug and > Quanta to make it work. > > Andras > > _______________________________________________ > Quanta mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/quanta _______________________________________________ Quanta mailing list [email protected] https://mail.kde.org/mailman/listinfo/quanta