{"action":"created","issue":{"url":"https://api.github.com/repos/Tudat/tudat/issues/474","repository_url":"https://api.github.com/repos/Tudat/tudat","labels_url":"https://api.github.com/repos/Tudat/tudat/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/Tudat/tudat/issues/474/comments","events_url":"https://api.github.com/repos/Tudat/tudat/issues/474/events","html_url":"https://github.com/Tudat/tudat/issues/474","id":383155368,"node_id":"MDU6SXNzdWUzODMxNTUzNjg=","number":474,"title":"Could not debug the compiled executable under Ubuntu system","user":{"login":"different91988","id":39682795,"node_id":"MDQ6VXNlcjM5NjgyNzk1","avatar_url":"https://avatars1.githubusercontent.com/u/39682795?v=4","gravatar_id":"","url":"https://api.github.com/users/different91988","html_url":"https://github.com/different91988","followers_url":"https://api.github.com/users/different91988/followers","following_url":"https://api.github.com/users/different91988/following{/other_user}","gists_url":"https://api.github.com/users/different91988/gists{/gist_id}","starred_url":"https://api.github.com/users/different91988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/different91988/subscriptions","organizations_url":"https://api.github.com/users/different91988/orgs","repos_url":"https://api.github.com/users/different91988/repos","events_url":"https://api.github.com/users/different91988/events{/privacy}","received_events_url":"https://api.github.com/users/different91988/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-21T14:55:34Z","updated_at":"2018-11-23T23:58:38Z","closed_at":null,"author_association":"NONE","body":"Hi Dominic,\r\n\r\nI have been busy in other projects for several weeks. These days I have follow your advise to debug tudat library in our Ubuntu server. But the breakpoint still could not be hit. Without this function, I could not merge tudat with my current working codes and test the running results. Could you help me with this problem?\r\n\r\nMy system version is Ubuntn 16.04 server 64bit ,and the gcc version is  \r\ngcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0, the cmake version is 3.10.2  and the gdb version is  8.1.0.20180409-git.\r\n\r\nAfter cloning the tudat library with three commands:\r\ngit clone  https://github.com/tudat/tudatBundle.git\r\ncd tudatBundle\r\ngit submodule update --init --recursive\r\n\r\nI run these commands to build and debug the application_HelloWorld\r\nmkdir build\r\ncmake ..\r\nmake application_HelloWorld\r\ncd tudatExampleApplications/templateApplication/bin/applications/\r\ngdb ./application_HelloWorld\r\n\r\nHowever, when I start the executable and press button n to run the program to next line the the gdb hints the excutable has no line information and directly go to the end as followings:\r\n\r\n\"Single stepping until exit from function main,\r\nwhich has no line number information.\r\nHello world!\r\nI am floating 5.62954 km above the Moon's surface.\r\nThe gravitational acceleration here is 1.61338 m/s^2.\r\n__libc_start_main (main=0x555555554e20 <main>, argc=1, argv=0x7fffffffe448, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,\r\n    stack_end=0x7fffffffe438) at ../csu/libc-start.c:344\r\n344     ../csu/libc-start.c: No such file or directory.\"\r\n\r\nCould you enlighten me with the detailed steps to debug with Ubuntu system? \r\n\r\nBeat wishes\r\n\r\nMin Wang"},"comment":{"url":"https://api.github.com/repos/Tudat/tudat/issues/comments/441331122","html_url":"https://github.com/Tudat/tudat/issues/474#issuecomment-441331122","issue_url":"https://api.github.com/repos/Tudat/tudat/issues/474","id":441331122,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTMzMTEyMg==","user":{"login":"different91988","id":39682795,"node_id":"MDQ6VXNlcjM5NjgyNzk1","avatar_url":"https://avatars1.githubusercontent.com/u/39682795?v=4","gravatar_id":"","url":"https://api.github.com/users/different91988","html_url":"https://github.com/different91988","followers_url":"https://api.github.com/users/different91988/followers","following_url":"https://api.github.com/users/different91988/following{/other_user}","gists_url":"https://api.github.com/users/different91988/gists{/gist_id}","starred_url":"https://api.github.com/users/different91988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/different91988/subscriptions","organizations_url":"https://api.github.com/users/different91988/orgs","repos_url":"https://api.github.com/users/different91988/repos","events_url":"https://api.github.com/users/different91988/events{/privacy}","received_events_url":"https://api.github.com/users/different91988/received_events","type":"User","site_admin":false},"created_at":"2018-11-23T23:58:38Z","updated_at":"2018-11-23T23:58:38Z","author_association":"NONE","body":"Dear Dominic,\r\n\r\nI've switched to debug mode but it does not work. I think the the problem is related to the configuration \r\n set in the CMakeLists.txt of each library.\r\n\r\nI just want to follow the flow of program step-by-step to  learn the structure  and organization of tudat  library.\r\n\r\nBest wishes\r\n\r\nMin "}}
{"actor":{"display_login":"different91988"}}