No symbol table is loaded. |
|
Hi... Thank you for making such a great tool. It really is pretty amazing!
I have a problem I'm trying to solve. I have DBG correctly installed on my web server and it appears in my phpinfo. This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with DBG v2.15.5, (C) 2000,2007, by Dmitri Dmitrienko I am trying to debug a CLI (command line interface) script using dbg-cli. I have correctly compiled it and set the ports and paths correctly. If you need it, here are my settings: set port 7869 set mode on set maplocalroot /www/stock/public_html/ set mapremoteroot /www/stock/public_html/ set mapurlroot http://mywebserver/ The problem is that when I load a script from the command line or using the 'file' command, the program runs to completions when I type: run, but there is no symbol table so I can't set breakpoints or watches and step through the program. Am I missing something? Why is the symbol table not being loaded? Are they being stripped out somewhere? Here is a run output: DBG php debugger, version 2.15.5, Copyright 2001, 2007, Dmitri Dmitrienko, http://www.nusphere.com dbg>file phptest.php Reading symbols from phptest.php...done. dbg>list No symbol table is loaded. Use the "file" command. dbg>step The program is not being run. dbg>run Program exited. dbg>show cgiexec php. dbg>q Basically, I just want to know how to get the symbol table loaded too. Thanks! |
||||||||||||
|
Site Admin
|
The responses regarding "symbol table" are adequate only for DDD debugger front end (just to get it to work with dbg). Forget about symbol tables. There are none. What you need it "break" command to set breakpoint and run to get your script executed. FYI, when you "set mode on", you're turning on HTTP mode. If you need to execute a script with php, you have to "set mode off". Also you need to specify path to php with command like this: "set cgiexec /usr/local/bin/php-cgi". Values such as mapurlroot and the other map* ones are not needed in non-http mode.
|
||||||||||||
_________________ The PHP IDE team |
No symbol table is loaded. |
|
||
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