|
My experience and my reading of other posts leads me to conclude that the problem is not dbg-cli supplied pcre v. local pcre, but mixing them. I used the bdg-cli supplied code exclusively and I saw a ...
|
|
Hi Folks,
Well, it was a long trek, but well worth it and I now have DBG-CLI working as the in[tf]erior debugger for ddd!!! All Cheer! Right, so now I need to begin to debug my php application ... |
|
I have a solution.
The problem is the the link order is fetching regcomp and regexec from libc and not from pcre. I did this: rm dbg/dbg-cli make > make.log 2>&1 Then I hacked the out ... |
|
I performed the following procedure because it appeared the shortest and least error-prone way to accomplish the replacement of libpcre.a
make clean; make rm dbg/dbg-cli rm pcre/libpcre.a cp /u ... |
|
Can you offer any more? For example, what is happening and how do I prevent it or work around it?
|
|
I added #include <iostream> and changed cerr to std::cerr and I was able to complete make. I ran with the following commands:
set mode on set port 7869 set mapurlroot http://localhost set ... |
|
I assumed that in addition to the changes, I needed to define _TRACE, which I did but this exposes a problem. I get an error on line 51 of dbgbase_globales.cpp:
char buf dbgbase_globals.cpp:51: ... |
|
I ran "make clean; make > make.log 2>&1" and I investigated.
I see explicit -I../pcre in the compilation lines and I see -L/usr/local/src/dbg-cli-2.11.0/pcre. So I conclude that I am usi ... |
|
Hi Folks,
Regcomp is returning 0 while trying to compile the regular expression during the first invocation. I have NO idea what is wrong with it and I don't seem to be able to step through it, si ... |
|
Hi Folks,
More specifically, it is an open_http_session ... |
|
Hi Folks,
The failure seems to be in open_dbg_session() and it appears to have something to do with parsing a regular expression, but it is not clear to me what is wrong. I have found other post ... |
|
Hi Folks,
I built dbg-cli and I'm steping through with gdb. I'm running on the same box as php. I've entered the following to dbg-cli: set mode on set port 7869 set mapurlroot http://localhost ... |
Page 1 of 2 | All times are GMT - 5 Hours |
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