{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/14784","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/14784/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/14784/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/14784/events","html_url":"https://github.com/Microsoft/vscode/issues/14784","id":186444663,"number":14784,"title":"Breakpoints on particular column","user":{"login":"roblourens","id":323878,"avatar_url":"https://avatars.githubusercontent.com/u/323878?v=3","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/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":272689392,"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":{"login":"roblourens","id":323878,"avatar_url":"https://avatars.githubusercontent.com/u/323878?v=3","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},"assignees":[{"login":"roblourens","id":323878,"avatar_url":"https://avatars.githubusercontent.com/u/323878?v=3","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},{"login":"weinand","id":1898161,"avatar_url":"https://avatars.githubusercontent.com/u/1898161?v=3","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},{"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/35","html_url":"https://github.com/Microsoft/vscode/milestone/35","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/35/labels","id":2249271,"number":35,"title":"February 2017","description":"","creator":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"open_issues":197,"closed_issues":214,"state":"open","created_at":"2017-01-13T07:56:02Z","updated_at":"2017-02-15T10:35:37Z","due_on":"2017-02-28T08:00:00Z","closed_at":null},"comments":7,"created_at":"2016-11-01T01:50:41Z","updated_at":"2017-02-15T11:06:02Z","closed_at":"2017-02-08T11:12:57Z","body":"There might be an issue for this already but I can't find one, so here's a general feature request for discussion.\r\n\r\nIt would be very useful to be able to set a breakpoint on a particular column of a line. It's useful for debugging promises - \r\n\r\n```javascript\r\nasyncFn().then(() => foo())\r\n    .then(() => bar())\r\n    .then(() => something())\r\n```\r\n\r\nor minified code -\r\n```javascript\r\na();b();c();\r\n```\r\n\r\nespecially since we don't have any way to pretty-print scripts while debugging them. As is, there's no way to break inside the `then`s or on expressions that are packed on the same line without reformatting your code or setting breakpoints in other places.\r\n\r\nThis is handled by the protocol already but needs UI work.\r\n- How do we show which part of the line the breakpoint is associated with?\r\n    - VS and F12 highlight the actual statement for the bp. I'm not sure that works for vscode, because we'll only know the column position and won't necessarily have the language knowledge to know the whole span in question. \r\n    - Show a decoration inline if column != 0? Only visible when hovering over the bp in the margin?\r\n    - Then these will often show up when setting a bp with F9, just because the cursor is somewhere else in the line, even if it's the same as a bp at column 0\r\n- How do we show multiple breakpoints on one line?\r\n- Need a 'add breakpoint' as a context menu option on the editor\r\n- Setting a breakpoint by F9 needs to respect the column position of the cursor\r\n\r\nAnd a cheaper way to experiment with this could be to change the \"Run to cursor\" option to respect the column."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/279982256","html_url":"https://github.com/Microsoft/vscode/issues/14784#issuecomment-279982256","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/14784","id":279982256,"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":"2017-02-15T11:06:02Z","updated_at":"2017-02-15T11:06:02Z","body":"XDebug doesn't support column breakpoints unfortunately."}}
{"actor":{"display_login":"felixfbecker"}}