{"action":"created","issue":{"url":"https://api.github.com/repos/FrodeSolheim/fs-uae/issues/63","labels_url":"https://api.github.com/repos/FrodeSolheim/fs-uae/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/FrodeSolheim/fs-uae/issues/63/comments","events_url":"https://api.github.com/repos/FrodeSolheim/fs-uae/issues/63/events","html_url":"https://github.com/FrodeSolheim/fs-uae/issues/63","id":66326108,"number":63,"title":"Remote Debugger Support","user":{"login":"emoon","id":350822,"avatar_url":"https://avatars.githubusercontent.com/u/350822?v=3","gravatar_id":"","url":"https://api.github.com/users/emoon","html_url":"https://github.com/emoon","followers_url":"https://api.github.com/users/emoon/followers","following_url":"https://api.github.com/users/emoon/following{/other_user}","gists_url":"https://api.github.com/users/emoon/gists{/gist_id}","starred_url":"https://api.github.com/users/emoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emoon/subscriptions","organizations_url":"https://api.github.com/users/emoon/orgs","repos_url":"https://api.github.com/users/emoon/repos","events_url":"https://api.github.com/users/emoon/events{/privacy}","received_events_url":"https://api.github.com/users/emoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-04-04T14:30:01Z","updated_at":"2015-07-26T13:43:14Z","closed_at":null,"body":"Currently FS-UAE (or any UAE version) from what I know doesn't support any remote debugging.\r\n\r\nI would like to implement this but I would like to have have some guidance on how to do this before I get started.\r\n\r\nI would likely want to use the existing code in debug.cpp but perhaps split it up so on path could go to sending to a remove socket and one still print to the internal monitor. \r\n\r\nI would very much prefer to have a binary structure to be sent over the socket instead of sending text.\r\n\r\nAny suggestions on how to go about with this?\r\n\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/FrodeSolheim/fs-uae/issues/comments/124988690","html_url":"https://github.com/FrodeSolheim/fs-uae/issues/63#issuecomment-124988690","issue_url":"https://api.github.com/repos/FrodeSolheim/fs-uae/issues/63","id":124988690,"user":{"login":"emoon","id":350822,"avatar_url":"https://avatars.githubusercontent.com/u/350822?v=3","gravatar_id":"","url":"https://api.github.com/users/emoon","html_url":"https://github.com/emoon","followers_url":"https://api.github.com/users/emoon/followers","following_url":"https://api.github.com/users/emoon/following{/other_user}","gists_url":"https://api.github.com/users/emoon/gists{/gist_id}","starred_url":"https://api.github.com/users/emoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emoon/subscriptions","organizations_url":"https://api.github.com/users/emoon/orgs","repos_url":"https://api.github.com/users/emoon/repos","events_url":"https://api.github.com/users/emoon/events{/privacy}","received_events_url":"https://api.github.com/users/emoon/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T13:43:13Z","updated_at":"2015-07-26T13:43:13Z","body":"I have one question. I need to place my \r\n\r\n```C\r\nremote_debug_update (); \r\n```\r\n\r\ncall somewhere (this is to keep the update the socket, check for incoming events, etc) this needs be called once per frame or something similar.\r\n\r\nRight now I stuck it into the \r\n\r\n```C\r\nstatic int do_specialties (int cycles)\r\n```\r\n\r\nWhich is fine but once there is a connection there will be plenty of 'hammering' on the socket (as I guess this code is called once per CPU instruction) If the remote debugger hasn't been setup the code will just return directly and shouldn't have any issues perf wise but once connected this may or not be an issue (haven't actually tested yet)\r\n\r\nI thought about using some cpu timer to check how much time that has elapsed since the last time the code was called which may work ok.\r\n\r\nAny other suggestions?\r\n"}}