Skip to content

Commit 5cfd42f

Browse files
committedMar 20, 2023
Add debugging helper to help with accessing Xdebug's globals in threaded builds
1 parent fc49723 commit 5cfd42f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎.gdbinit

+2
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ define pxdset
3636
end
3737
printf "\n"
3838
end
39+
40+
set $xg = ((zend_xdebug_globals*) (*((void ***) tsrm_get_ls_cache()))[xdebug_globals_id-1])

0 commit comments

Comments
 (0)
Please sign in to comment.