{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/11462","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/11462/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/11462/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/11462/events","html_url":"https://github.com/Microsoft/vscode/issues/11462","id":174784598,"number":11462,"title":"Debug console","user":{"login":"isidorn","id":1926584,"avatar_url":"https://avatars.githubusercontent.com/u/1926584?v=3","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"labels":[{"id":291054922,"url":"https://api.github.com/repos/Microsoft/vscode/labels/debug","name":"debug","color":"1d76db","default":false},{"id":437434022,"url":"https://api.github.com/repos/Microsoft/vscode/labels/debug-console","name":"debug-console","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"isidorn","id":1926584,"avatar_url":"https://avatars.githubusercontent.com/u/1926584?v=3","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"assignees":[{"login":"isidorn","id":1926584,"avatar_url":"https://avatars.githubusercontent.com/u/1926584?v=3","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestones/Backlog","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":1601,"closed_issues":1112,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2016-11-18T11:00:10Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-09-02T15:20:36Z","updated_at":"2016-11-18T11:39:28Z","closed_at":null,"body":"This item is intended as a discussion for the future of the debug console. Currently we use the tree to represent all elements in the debug console. This has worked well thus far but has certain limitations. The benefit of using the tree is that we can easily render complex elements - the ones that have children. The tree also allows us to lazily fetch the children of each element and is virtualised.\n### Motivation for the change\n\nhttps://github.com/Microsoft/vscode/issues/1957\nhttps://github.com/Microsoft/vscode/issues/4338\nhttps://github.com/Microsoft/vscode/issues/4326\nhttps://github.com/Microsoft/vscode/issues/2163\nhttps://github.com/Microsoft/vscode/issues/6845\nhttps://github.com/Microsoft/vscode/issues/228\nhttps://github.com/Microsoft/vscode/issues/10680\n### Option 1: use the editor and simulate the tree using editor decorations\n\n**pro:** find, selection, word wrap, performance\n**con:** have to simulate the tree by using editor decorations / indentation, not enough flexibility (for possibly future requests of rendering custom things in the debug console). \n\nNote: editor could be enhanced to render custom images, but customly rendered output which the user can interact with is tricky.\n### Option 2: use the editor but render a tree per complex object in a custom editor widget\n\n**pro:** most similar to what we currently have with some benefits on top (able to find/copy outside of complex objects)\n**con:** find and selection will not work inside the tree, thus making it hard to copy / find contents inside complex objects\n### Option 3: render the debug console not using existing widgets\n\n**pro:** gives most flexibility\n**con:** no virtualisation, slow for a large number of elements, have to rewrite find widget, word wraping\n\nChrome debug console is a good example of this. They can render multiple complex elements side by side and expand / collapse them.\n\n@weinand @alexandrudima please edit / modify as you see fit. I might have missed some of the pro/cons that we discussed, I just simply wrote what we have talked about this afternoon.\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/261512533","html_url":"https://github.com/Microsoft/vscode/issues/11462#issuecomment-261512533","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/11462","id":261512533,"user":{"login":"felixfbecker","id":10532611,"avatar_url":"https://avatars.githubusercontent.com/u/10532611?v=3","gravatar_id":"","url":"https://api.github.com/users/felixfbecker","html_url":"https://github.com/felixfbecker","followers_url":"https://api.github.com/users/felixfbecker/followers","following_url":"https://api.github.com/users/felixfbecker/following{/other_user}","gists_url":"https://api.github.com/users/felixfbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfbecker/subscriptions","organizations_url":"https://api.github.com/users/felixfbecker/orgs","repos_url":"https://api.github.com/users/felixfbecker/repos","events_url":"https://api.github.com/users/felixfbecker/events{/privacy}","received_events_url":"https://api.github.com/users/felixfbecker/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T11:39:28Z","updated_at":"2016-11-18T11:39:28Z","body":"I would use an editor to allow all the find and selection goodness (and any possible future features), but extend it in a way that allows to \"embed\" individual trees inside it for the result variables, so the result variables share the same UI as the debug variables panel. Don't know if that is possible"}}
{"actor":{"display_login":"felixfbecker"}}