{"action":"created","issue":{"url":"https://api.github.com/repos/GoClipse/goclipse/issues/135","labels_url":"https://api.github.com/repos/GoClipse/goclipse/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/GoClipse/goclipse/issues/135/comments","events_url":"https://api.github.com/repos/GoClipse/goclipse/issues/135/events","html_url":"https://github.com/GoClipse/goclipse/issues/135","id":92083305,"number":135,"title":"Cannot enable breakpoints in goclipse","user":{"login":"abligh","id":1240226,"avatar_url":"https://avatars.githubusercontent.com/u/1240226?v=3","gravatar_id":"","url":"https://api.github.com/users/abligh","html_url":"https://github.com/abligh","followers_url":"https://api.github.com/users/abligh/followers","following_url":"https://api.github.com/users/abligh/following{/other_user}","gists_url":"https://api.github.com/users/abligh/gists{/gist_id}","starred_url":"https://api.github.com/users/abligh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abligh/subscriptions","organizations_url":"https://api.github.com/users/abligh/orgs","repos_url":"https://api.github.com/users/abligh/repos","events_url":"https://api.github.com/users/abligh/events{/privacy}","received_events_url":"https://api.github.com/users/abligh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-30T12:46:48Z","updated_at":"2015-07-01T15:03:51Z","closed_at":null,"body":"[ Originally reported at:\r\n  http://stackoverflow.com/questions/31056007/enabling-breakpoints-in-goclipse\r\nwhere https://github.com/bruno-medeiros (who is a contributor) suggested I report here]\r\n\r\nI'm trying to get debugging of go programs working in eclipse Luna with goclipse v0.11.0 on OS-X 10.9.5. I am using GNU gdb (GDB) 7.9.1 from brew, and go1.4.2.\r\n\r\nI successfully installed and code-signed gdb using instructions here:\r\n\r\nhttp://ntraft.com/installing-gdb-on-os-x-mavericks/\r\n\r\nI am building my go program with `-gcflags \"-N -l\"` and I can successfully debug it at the command line, including setting breakpoints at go functions and stepping through them with the gdb command line, with source appearing as it should.\r\n\r\nHowever, in goclipse I cannot set a breakpoint at all, because the 'toggle breakpoint' item on the menu is greyed out, and the 'Breakpoint Types' list says 'none available'.\r\n\r\nIf I select 'Stop on Startup at' 'main', then I can step through assembler, which is unhelpful, but proves gdb is being used.\r\n\r\nIf I keep the above option set, wait until the program hits the main breakpoint, and type (at the gdb console within eclipse) break main.foo, then cont, then a breakpoint is set in the right place, and I can step through things in the Eclipse IDE. Thus it appears the only issue is setting the breakpoints in the IDE.\r\n\r\nThe go program concerned is a single file and it works under command line gdb, and I have deleted the binary and started afresh, so this is not a 'need a rebuild' issue.\r\n\r\nThere is a screenshot at the StackExchange post linked above.\r\n"},"comment":{"url":"https://api.github.com/repos/GoClipse/goclipse/issues/comments/117709612","html_url":"https://github.com/GoClipse/goclipse/issues/135#issuecomment-117709612","issue_url":"https://api.github.com/repos/GoClipse/goclipse/issues/135","id":117709612,"user":{"login":"bruno-medeiros","id":4324232,"avatar_url":"https://avatars.githubusercontent.com/u/4324232?v=3","gravatar_id":"","url":"https://api.github.com/users/bruno-medeiros","html_url":"https://github.com/bruno-medeiros","followers_url":"https://api.github.com/users/bruno-medeiros/followers","following_url":"https://api.github.com/users/bruno-medeiros/following{/other_user}","gists_url":"https://api.github.com/users/bruno-medeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno-medeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno-medeiros/subscriptions","organizations_url":"https://api.github.com/users/bruno-medeiros/orgs","repos_url":"https://api.github.com/users/bruno-medeiros/repos","events_url":"https://api.github.com/users/bruno-medeiros/events{/privacy}","received_events_url":"https://api.github.com/users/bruno-medeiros/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T15:03:51Z","updated_at":"2015-07-01T15:03:51Z","body":"Nevermind, I was able to replicate it."}}