Re: unit test a single case
| From: | Christoph M. Becker | Date: | Thu, 18 Jan 2018 17:42:57 +0000 |
| Subject: | Re: unit test a single case | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101618@lists.php.net to get a copy of this message | ||
On 18.01.2018 at 17:11, Sam Ding wrote:
> I can run the test case individually now and compare the result between
> s390x and x86_64 (both RHEL 7.2) on failed cases.
> Found the different results between the two platforms, some are related to
> function var_dump(), how can I debug php code or even the interpreter
> code ?
> what debugger is used?
If possible, use gdb. There's a .gdbinit[1] in the PHP source tree
which offers some helpful macros.
[1] <https://github.com/php/php-src/blob/master/.gdbinit>
--
Christoph M. Becker