(lldb) target create "php" ruCurrent executable set to 'php' (x86_64). (lldb) settings set -- target.run-args "xdebugTest.php" (lldb) run Process 53913 launched: '/usr/local/bin/php' (x86_64) xdebug.so was compiled with optimization - stepping may behave oddly; variables may not be available. Process 53913 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00000001041a5e77 xdebug.so`xdebug_var_export_xml_node at xdebug_var.c:1715 [opt] 1712 zend_string *tmp_fullname_zstr; 1713 1714 #if PHP_VERSION_ID >= 70300 -> 1715 tmp_fullname_zstr = php_addslashes(i_string); 1716 #else 1717 tmp_fullname_zstr = php_addslashes(i_string, 0); 1718 #endif Target 0: (php) stopped. (lldb) register read General Purpose Registers: rax = 0x00000001002ca489 php`php_addslashes rbx = 0x000000000000000c rcx = 0x5f44494f52444e41 rdx = 0x0000000000000004 rdi = 0x0000000104201dc0 rsi = 0x0000000104201068 rbp = 0x00007ffeefbfda30 rsp = 0x00007ffeefbfd960 r8 = 0x454d4f485f44494f r9 = 0x0000000103600000 r10 = 0x0000000003ffffff r11 = 0x0000000000000d70 r12 = 0x000000010427f400 r13 = 0x0000000104201dc0 r14 = 0x0000000000000c80 r15 = 0x0000000104201050 rip = 0x00000001041a5e77 xdebug.so`xdebug_var_export_xml_node + 2647 [inlined] xdebug_array_element_export_xml_node + 173 at xdebug_var.c:2028 xdebug.so`xdebug_var_export_xml_node + 2474 at xdebug_var.c:2028 rflags = 0x0000000000010202 cs = 0x000000000000002b fs = 0x0000000000000000 gs = 0x0000000000000000 (lldb) frame variable (zval *) zv_nptr = (zend_ulong) index_key = (zend_string *) hash_key = 0x0000000104201050 (xdebug_xml_node *) parent = (xdebug_str *) parent_name = (xdebug_var_export_options *) options = (xdebug_xml_node *) node = 0x0000000103651390 (xdebug_str *) name = (xdebug_str) full_name = (zend_string *) i_string = 0x0000000104201dc0 (zend_string *) tmp_fullname_zstr = (lldb) frame var -L i_string 0x00007ffeefbfd9d0: (zend_string *) i_string = 0x0000000104201dc0 (lldb) frame var -L &i_string scalar: (zend_string **) &i_string = 0x00007ffeefbfd9d0 (lldb) bt all * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) * frame #0: 0x00000001041a5e77 xdebug.so`xdebug_var_export_xml_node at xdebug_var.c:1715 [opt] frame #1: 0x00000001041a5dca xdebug.so`xdebug_var_export_xml_node(struc=, name=0x00000001036511e0, node=0x0000000103650ff0, options=, level=1) at xdebug_var.c:2028 [opt] frame #2: 0x00000001041a51c4 xdebug.so`xdebug_get_zval_value_xml_node_ex(name=, val=0x00007ffeefbfdb60, var_type=, options=0x000000010364d820) at xdebug_var.c:2167 [opt] frame #3: 0x00000001041938f1 xdebug.so`xdebug_dbgp_handle_context_get [inlined] get_symbol(name=0x0000000000000007, options=0x000000010364d820) at xdebug_handler_dbgp.c:285 [opt] frame #4: 0x00000001041938ad xdebug.so`xdebug_dbgp_handle_context_get [inlined] add_variable_node(node=0x0000000103650420, name=0x0000000000000007, var_only=0, non_null=0, no_eval=0, options=0x000000010364d820) at xdebug_handler_dbgp.c:1331 [opt] frame #5: 0x00000001041938ad xdebug.so`xdebug_dbgp_handle_context_get [inlined] attach_context_vars(node=0x0000000103650420, options=0x000000010364d820, context_id=, depth=, func=) at xdebug_handler_dbgp.c:1706 [opt] frame #6: 0x00000001041934ae xdebug.so`xdebug_dbgp_handle_context_get(retval=0x00007ffeefbfdc60, context=, args=) at xdebug_handler_dbgp.c:1865 [opt] frame #7: 0x00000001041909be xdebug.so`xdebug_dbgp_cmdloop [inlined] xdebug_dbgp_parse_option(context=0x00000001041b33e8, line=, flags=, retval=0x0000000103650420) at xdebug_handler_dbgp.c:2123 [opt] frame #8: 0x0000000104190884 xdebug.so`xdebug_dbgp_cmdloop(context=0x00000001041b33e8, bail=1) at xdebug_handler_dbgp.c:2167 [opt] frame #9: 0x0000000104191813 xdebug.so`xdebug_dbgp_breakpoint(context=0x00000001041b33e8, stack=, file=, lineno=, type=, exception=0x0000000000000000, code=0x0000000000000000, message=0x0000000000000000) at xdebug_handler_dbgp.c:2442 [opt] frame #10: 0x0000000104189ad1 xdebug.so`xdebug_statement_call(frame=) at xdebug.c:0 [opt] frame #11: 0x000000010037ab80 php`zend_llist_apply_with_argument + 31 frame #12: 0x00000001003feb95 php`ZEND_EXT_STMT_SPEC_HANDLER + 47 frame #13: 0x00000001003c0a8e php`execute_ex + 98 frame #14: 0x0000000104188914 xdebug.so`xdebug_execute_ex(execute_data=0x0000000104220030) at xdebug.c:1903 [opt] frame #15: 0x00000001003c0c0a php`zend_execute + 318 frame #16: 0x00000001003859fa php`zend_execute_scripts + 277 frame #17: 0x000000010033142f php`php_execute_script + 639 frame #18: 0x00000001004315b7 php`do_cli + 3857 frame #19: 0x0000000100430539 php`main + 1234 frame #20: 0x00007fff60ce0ed9 libdyld.dylib`start + 1