Title: Infinite-ish recursion on singleton classes · Issue #506 · vim-vdebug/vdebug · GitHub
Open Graph Title: Infinite-ish recursion on singleton classes · Issue #506 · vim-vdebug/vdebug
X Title: Infinite-ish recursion on singleton classes · Issue #506 · vim-vdebug/vdebug
Description: Using XDebug + PHP, going through some code that contains a singleton class leads to Vdebug crashes. They can take a long time to recover, and then immediately crash again on the next step. I can prevent the crash by doing :VdebugEval! $...
Open Graph Description: Using XDebug + PHP, going through some code that contains a singleton class leads to Vdebug crashes. They can take a long time to recover, and then immediately crash again on the next step. I can p...
X Description: Using XDebug + PHP, going through some code that contains a singleton class leads to Vdebug crashes. They can take a long time to recover, and then immediately crash again on the next step. I can p...
Opengraph URL: https://github.com/vim-vdebug/vdebug/issues/506
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Infinite-ish recursion on singleton classes","articleBody":"Using XDebug + PHP, going through some code that contains a singleton class leads to Vdebug crashes. They can take a long time to recover, and then immediately crash again on the next step. I can prevent the crash by doing `:VdebugEval! $not_a_var` but this of course kills watching all context. VDebug expands the local variable containing the instance, finds its class' static property holding the same reference, and repeats.\r\n\r\nI imagine the simplest way to avoid this is to check if any property (static or otherwise) is a reference to itself/one of its (visible) parents, and not expand it.","author":{"url":"https://github.com/Roy-Orbison","@type":"Person","name":"Roy-Orbison"},"datePublished":"2021-08-09T08:39:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/506/vdebug/issues/506"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7b88894a-d472-20c6-4f27-0e5c702089a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0EC:62569:9AA94:CE264:698EC7FE |
| html-safe-nonce | 7b32d15f98b3720e3fa5ee4eeda37bcc47091f3f06821751cfd928d936324db3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEVDOjYyNTY5OjlBQTk0OkNFMjY0OjY5OEVDN0ZFIiwidmlzaXRvcl9pZCI6IjczNDcxNDUyMTA2NDI0ODMxOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 09604673739f71c8f06798149230f7a67e40b6487e77aedfe23a3c6a7b34aefa |
| hovercard-subject-tag | issue:963770420 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vim-vdebug/vdebug/506/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2351ce508569ae566893467b0826cbf98efc9912a141c1b1484ff5d4d99d8616/vim-vdebug/vdebug/issues/506 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2351ce508569ae566893467b0826cbf98efc9912a141c1b1484ff5d4d99d8616/vim-vdebug/vdebug/issues/506 |
| og:image:alt | Using XDebug + PHP, going through some code that contains a singleton class leads to Vdebug crashes. They can take a long time to recover, and then immediately crash again on the next step. I can p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Roy-Orbison |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/vim-vdebug/vdebug git https://github.com/vim-vdebug/vdebug.git |
| octolytics-dimension-user_id | 37241739 |
| octolytics-dimension-user_login | vim-vdebug |
| octolytics-dimension-repository_id | 4597834 |
| octolytics-dimension-repository_nwo | vim-vdebug/vdebug |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4597834 |
| octolytics-dimension-repository_network_root_nwo | vim-vdebug/vdebug |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width