{"id":18489123,"url":"https://github.com/hachreak/cedb","last_synced_at":"2025-04-08T21:30:41.506Z","repository":{"id":139146314,"uuid":"123155321","full_name":"hachreak/cedb","owner":"hachreak","description":"Console Erlang DeBugger","archived":false,"fork":false,"pushed_at":"2018-08-19T00:55:30.000Z","size":18,"stargazers_count":44,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T18:11:12.282Z","etag":null,"topics":["console","debugger","erlang","erlang-libraries","erlang-library"],"latest_commit_sha":null,"homepage":"https://github.com/hachreak/cedb","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hachreak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-27T16:17:31.000Z","updated_at":"2025-02-22T21:08:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"5db020cc-4962-4702-afdc-d7d51e70ee8a","html_url":"https://github.com/hachreak/cedb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Fcedb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Fcedb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Fcedb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Fcedb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hachreak","download_url":"https://codeload.github.com/hachreak/cedb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247931029,"owners_count":21020154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["console","debugger","erlang","erlang-libraries","erlang-library"],"created_at":"2024-11-06T12:55:22.842Z","updated_at":"2025-04-08T21:30:41.501Z","avatar_url":"https://github.com/hachreak.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"cedb\n====\n\nConsole Erlang Debugger.\n\nRun debug directly from console.\n\nRun debug\n---------\n\nGo inside the example app and run the shell:\n\n```sh\ncd examples/test\nrebar3 shell\n```\n\n```erlang\n1\u003e application:ensure_all_started(cedb).\n2\u003e % Set a breakpoint in `test.erl` module in line `16`\n2\u003e cedb:break(test, 16).\n3\u003e % Set a breakpoint in `test.erl` module `function2` with arity `1`\n3\u003e cedb:break(test, function2, 1).\n4\u003e % run the application to debug\n4\u003e test:start().\n\n=\u003e {\u003c0.258.0\u003e,{attached,test,16,false}}\n\nFile /projects/cedb/examples/test/_build/default/lib/test/src/test.erl\n\n   11:       function1(),\n   12:       io:format(\"Finish~n\").\n   13:\n   14:     function1() -\u003e\n  *15:       A = \"Hello\",\n   16:       B = #{A =\u003e \u003c\u003c\"c\"\u003e\u003e},\n   17:       function2(B),\n   18:       io:format(\"I'm in function 1~n\").\n   19:\n   20:     function2(C) -\u003e\n   21:       io:format(\"I'm in function 2, the value is ~p~n\", [C]),\n\ncedb\u003e next.\nok\n=\u003e {\u003c0.258.0\u003e,running}\n\nFile /projects/cedb/examples/test/_build/default/lib/test/src/test.erl\n\n   11:       function1(),\n   12:       io:format(\"Finish~n\").\n   13:\n   14:     function1() -\u003e\n   15:       A = \"Hello\",\n  *16:       B = #{A =\u003e \u003c\u003c\"c\"\u003e\u003e},\n   17:       function2(B),\n   18:       io:format(\"I'm in function 1~n\").\n   19:\n   20:     function2(C) -\u003e\n   21:       io:format(\"I'm in function 2, the value is ~p~n\", [C]),\n\ncedb\u003e A.\n\"Hello\"\ncedb\u003e n.\nok\n=\u003e {\u003c0.258.0\u003e,running}\ncedb\u003e\n```\n\nCommands\n--------\n\nYou can run the current commands when the debugger is running:\n\nCommand      | Description\n-------------|-------------------------------------------\nbacktrace    | Show backtrace.\nbindings     | Show binded variables.\ncontinue     | Continue the execution of the process.\nfinish       | Finish the debug session.\nmessages     | Show process messages.\nnext         | Execute next instruction.\nskip         | Skip.\nstep         | Step inside next instruction.\nstop         | Stop debugging.\ntimeout      | Timeout.\nVar          | Variable names are evaluated in the current context.\n\nAbbreviations of the above commands are also accepted, like `n` for `next`,\n`ba` for `backtrace` etc.\n\nBreakpoints\n-----------\n\nCommand                         | Description\n--------------------------------|-------------------------------------------\ncedb:break(test, 16).           | Add a breakpoint to line 16.\ncedb:break(test, function2, 1). | Add a breakpoint to function `function2`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhachreak%2Fcedb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhachreak%2Fcedb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhachreak%2Fcedb/lists"}