{"action":"created","issue":{"url":"https://api.github.com/repos/coq/coq/issues/6390","repository_url":"https://api.github.com/repos/coq/coq","labels_url":"https://api.github.com/repos/coq/coq/issues/6390/labels{/name}","comments_url":"https://api.github.com/repos/coq/coq/issues/6390/comments","events_url":"https://api.github.com/repos/coq/coq/issues/6390/events","html_url":"https://github.com/coq/coq/issues/6390","id":281125076,"number":6390,"title":"\"-natdynlink no\" not enough for plugin debugging","user":{"login":"psteckler","id":2244648,"avatar_url":"https://avatars0.githubusercontent.com/u/2244648?v=4","gravatar_id":"","url":"https://api.github.com/users/psteckler","html_url":"https://github.com/psteckler","followers_url":"https://api.github.com/users/psteckler/followers","following_url":"https://api.github.com/users/psteckler/following{/other_user}","gists_url":"https://api.github.com/users/psteckler/gists{/gist_id}","starred_url":"https://api.github.com/users/psteckler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psteckler/subscriptions","organizations_url":"https://api.github.com/users/psteckler/orgs","repos_url":"https://api.github.com/users/psteckler/repos","events_url":"https://api.github.com/users/psteckler/events{/privacy}","received_events_url":"https://api.github.com/users/psteckler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-12-11T18:41:21Z","updated_at":"2017-12-14T19:04:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- Thank you for your contribution.\r\n     Please complete the following information when reporting a bug. -->\r\n\r\n#### Version\r\n8.8+alpha, 0275b58\r\n\r\n<!-- You can get this information by running `coqtop -v`. -->\r\n\r\n\r\n#### Operating system\r\n\r\n`Linux felafel 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux`\r\n\r\n#### Description of the problem\r\n\r\n<!-- It is helpful to provide enough information so that we can reproduce the bug.\r\n     In particular, please include a code example which produces it.\r\n     If the example is small, you can include it here between ``` ```.\r\n     Otherwise, please provide a link to a repository, a gist (https://gist.github.com)\r\n     or drag-and-drop a `.zip` archive. -->\r\n\r\nBuilding Coq with `configure -natdynlink no` gets you statically-linked plugins, but it's not enough to debug them effectively.\r\n\r\nUsing `camldebug` from within Emacs, `info modules` shows, for example, `Ltac_plugin.Tacarg`, but no other modules from the Ltac plugin are visible. If I set a breakpoint on a line within `Tacarg`, in fact, the debugger breaks elsewhere within Ltac.\r\n\r\n@ppedrot and @ejgallego have mentioned their own ways to statically link plugins (both in the Coq distribution and others), maybe those allow effective debugging.\r\n"},"comment":{"url":"https://api.github.com/repos/coq/coq/issues/comments/351805525","html_url":"https://github.com/coq/coq/issues/6390#issuecomment-351805525","issue_url":"https://api.github.com/repos/coq/coq/issues/6390","id":351805525,"user":{"login":"herbelin","id":460771,"avatar_url":"https://avatars1.githubusercontent.com/u/460771?v=4","gravatar_id":"","url":"https://api.github.com/users/herbelin","html_url":"https://github.com/herbelin","followers_url":"https://api.github.com/users/herbelin/followers","following_url":"https://api.github.com/users/herbelin/following{/other_user}","gists_url":"https://api.github.com/users/herbelin/gists{/gist_id}","starred_url":"https://api.github.com/users/herbelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herbelin/subscriptions","organizations_url":"https://api.github.com/users/herbelin/orgs","repos_url":"https://api.github.com/users/herbelin/repos","events_url":"https://api.github.com/users/herbelin/events{/privacy}","received_events_url":"https://api.github.com/users/herbelin/received_events","type":"User","site_admin":false},"created_at":"2017-12-14T19:04:54Z","updated_at":"2017-12-14T19:04:54Z","author_association":"OWNER","body":"What do you mean by \"the Ltac stuff is not visible in ocamldebug\" and \"opening that coqtop.byte in Emacs, I can see the linked Ltac modules\"? I mean, what do you do to observe this?"}}
{"actor":{"display_login":"herbelin"}}