DbgListener COM interface - IPhpDbgSite ? |
Site Admin
|
You'd implement a CoClass that exposes IPhpDbgSite & IPhpDbgSite2 interfaces
|
||||||||||||
|
|
Hmm ok well I did that but I still get the 'Interface not implemented' message, although i can see in the debugger that the QueryInterface returns S_OK. What is IDbgListener2 used for? An IDbgListener2 gets a IPhpDbgSite2 as an argument, but never the other way around. Thanks.
|
||||||||||||
|
|
it keeps getting weirder. I installed PHP code, setup everything, selected 'php coder' in the dbglistener setup, and I get the exact same error message when I request a page with the url
http://localhost:8080/dbgtest.php?DBGSESSID=1@clienthost:7869;d=1,p=0 My phpdbg setup is correct, I'm pretty sure of that, the module show up right in phpinfo(), I can telnet to the port and all, but I keep on getting the 'No such interface supported' message! It's driving me nuts. Could it be because I'm running XP SP2? Thanks for any hints. |
||||||||||||
|
Site Admin
|
the URL is not correct.
DBG 2.11 supports DBGSESSID in the following form: id@host:port for example DBGSESSID=1@192.168.0.10:7869 where 192.168.0.10 is IP address of the machine where you run dbglistener. |
||||||||||||
|
|
But if the URL isn't correct, wouldn't the server-side component fail to make a connection to the dbglistener.exe program? Because that parts works fine. I've tried your suggestion and used an ip adres and not the 'clienthost' keyword, but that didn't make a difference, I still get the 'No such interface supported' error message. (I've also removed the d=1,p=0 part, and tried different combinations, and tried 127.0.0.1 and the real ip adress). I've also tried older versions of the dbg client client and they all work (in that they open a port on 7869, accept connections, log messages) but they all log that dreaded 'interface not supported' message. Is there anyone out there who can get the latest version of phpdbg to work with the latest version of phpcoder? I can see the phpcoder window show up for a very show while but then it disappears again when dbglistener.exe cannot find the interface. Isn't there a debug version of the the dbglistener.exe component that logs when it tries a queryinterface to a file or that displays in the log screen *which* interface isn't supported? Thanks.
|
||||||||||||
|
Site Admin
|
Check if Proxy/Stub dll is registered.
|
||||||||||||
|
|
Yes, this was the problem! Thank you! Stupid me, I've wasted 2 evenings thinking that my code wasn't correct... Aargh! Anyway, thanks again!
|
||||||||||||
|
DbgListener COM interface - IPhpDbgSite ? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by