Title: cant open treeview for objects with closures · Issue #55 · firephp/firephp-for-browser-devtools · GitHub
Open Graph Title: cant open treeview for objects with closures · Issue #55 · firephp/firephp-for-browser-devtools
X Title: cant open treeview for objects with closures · Issue #55 · firephp/firephp-for-browser-devtools
Description: Hi Christoph, I have a strange problem, right from the beginning of the "new webextension version". I havent reported it yet, cause I haven't found a way to repoduce it, nor I can tell why it shows up in some cases. But it happens quite ...
Open Graph Description: Hi Christoph, I have a strange problem, right from the beginning of the "new webextension version". I havent reported it yet, cause I haven't found a way to repoduce it, nor I can tell why it shows...
X Description: Hi Christoph, I have a strange problem, right from the beginning of the "new webextension version". I havent reported it yet, cause I haven't found a way to repoduce it, nor I can tel...
Opengraph URL: https://github.com/firephp/firephp-for-browser-devtools/issues/55
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cant open treeview for objects with closures","articleBody":"Hi Christoph,\r\n\r\nI have a strange problem, right from the beginning of the \"new webextension version\". I havent reported it yet, cause I haven't found a way to repoduce it, nor I can tell why it shows up in some cases. But it happens quite often to me... \r\n_While writing this Post, I recognized that it seems like closures are causing the problems. I leave the rest of the post in, so you can see the problem apearing on \"higher levels\" of the data_\r\n\r\nI got an quite simple Object and I want to debug it to the console:\r\n`FB::warn($filter);`\r\n\r\nObject ist structred like you see here\r\n\r\nAs you can see, I tried to open the filter-branch, but nothing happend.\r\n\r\nWith other objects it's working like a charm, with some objects, i can't access anything below.\r\n\r\neven when i try to access the array directly\r\n`FB::warn($filter-\u003efilter,'not working');`\r\nI'm not able to open the array in order to see the 8 entries in tree view. clicking the + just opens one blank line:\r\n\r\n\r\nI got a workaround for cases. I convert it to json and back to array\r\nFB::warn(json_decode(json_encode($filter-\u003efilter['im_sortiment']),true),'working');\r\n\r\n\r\n\r\n\r\n**SOLUTION**\r\nI just casted one element of the` $filter-\u003efilter` array as an Object and that brought me closer to the problem:\r\n\r\n\r\nAs you cat see, each of the 8 elements of the filter array is an array, having one closure in it (`get_sql`), If I unset that field, I can debug it,while if the closure is somwhere in the array, even at lower levels the whole thing can't be opened. The json trick get's rid of the closures, that's why it worked that way...\r\n\r\nmaybe you find a fix for it - it's hard tracking errors while some data is \"invisible\" :-)\r\n\r\ngreetz and thx\r\nsahib\r\n\r\n\t\t","author":{"url":"https://github.com/stSaHiB","@type":"Person","name":"stSaHiB"},"datePublished":"2020-03-14T11:24:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/55/firephp-for-browser-devtools/issues/55"}
| 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:27c7d687-fe6b-0595-aec8-d9f6e9b5862a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96EE:2BC495:96349B2:C1D4D28:697EC678 |
| html-safe-nonce | eaed58e1865a6cdf45556580e7401c5c105bce271f8607ba8667a59dd9a67467 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkVFOjJCQzQ5NTo5NjM0OUIyOkMxRDREMjg6Njk3RUM2NzgiLCJ2aXNpdG9yX2lkIjoiNjQ2NjkwMTUyMDI3NjE3ODU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9b94d6f62b12c0da0ba3b39ca5595bcdd5aa56187584a278de06a4d43c2351fe |
| hovercard-subject-tag | issue:581163837 |
| 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/firephp/firephp-for-browser-devtools/55/issue_layout |
| twitter:image | https://opengraph.githubassets.com/445cd6d72a08b213cb47bae93a89734d5ff56d37b4fddfae6808b6d8f06bac64/firephp/firephp-for-browser-devtools/issues/55 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/445cd6d72a08b213cb47bae93a89734d5ff56d37b4fddfae6808b6d8f06bac64/firephp/firephp-for-browser-devtools/issues/55 |
| og:image:alt | Hi Christoph, I have a strange problem, right from the beginning of the "new webextension version". I havent reported it yet, cause I haven't found a way to repoduce it, nor I can tell why it shows... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stSaHiB |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/firephp/firephp-for-browser-devtools git https://github.com/firephp/firephp-for-browser-devtools.git |
| octolytics-dimension-user_id | 491793 |
| octolytics-dimension-user_login | firephp |
| octolytics-dimension-repository_id | 69788787 |
| octolytics-dimension-repository_nwo | firephp/firephp-for-browser-devtools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 69788787 |
| octolytics-dimension-repository_network_root_nwo | firephp/firephp-for-browser-devtools |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width