]> granicus.if.org Git - php/commitdiff
[Not running]
authorkrakjoe <joe.watkins@live.co.uk>
Tue, 12 Nov 2013 01:31:51 +0000 (01:31 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Tue, 12 Nov 2013 01:31:51 +0000 (01:31 +0000)
README.md
phpdbg_prompt.c

index dcfd3317d23a362547cd71477418faa45fa28fb7..580538f20e99c0f986fb94bdf06d7cdb907bcb66 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,8 +1,6 @@
 The interactive PHP debugger
 ============================
 
-phpdbg is an interactive debugger for PHP.
-
 Implemented as a SAPI module, phpdbg can excerpt complete control over the environment without impacting the functionality or performance of your code.
 
 phpdbg aims to be a lightweight, easy to use debugging platform for PHP5.5+
index 69c64a1bf495008b6296099d101e2153141c2339..9565ee61e817b3003c35fec072e5f19bb859d124 100644 (file)
@@ -567,8 +567,13 @@ int phpdbg_interactive(TSRMLS_D) /* {{{ */
                            }
                        break;
 
-                       case PHPDBG_NEXT:
+                       case PHPDBG_NEXT: {
+                           if (!EG(in_execution)) {
+                               printf("[Not running]\n");
+                           }
                            return PHPDBG_NEXT;
+                       }
+                           
 
                    }
                } else if (PHPDBG_G(last)) {