{"id":20342056,"url":"https://github.com/briandfoy/devel-trace","last_synced_at":"2026-06-11T14:31:07.586Z","repository":{"id":1958820,"uuid":"2889238","full_name":"briandfoy/devel-trace","owner":"briandfoy","description":"The Devel::Trace Perl module","archived":false,"fork":false,"pushed_at":"2024-01-05T16:49:15.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T15:24:16.761Z","etag":null,"topics":["debugging","not-cpan-owner","perl","perl-module"],"latest_commit_sha":null,"homepage":"https://www.metacpan.org/module/Devel::Trace","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/briandfoy.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"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":"2011-12-01T06:41:15.000Z","updated_at":"2022-09-01T19:35:14.000Z","dependencies_parsed_at":"2024-11-14T21:31:51.525Z","dependency_job_id":null,"html_url":"https://github.com/briandfoy/devel-trace","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/briandfoy/devel-trace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandfoy%2Fdevel-trace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandfoy%2Fdevel-trace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandfoy%2Fdevel-trace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandfoy%2Fdevel-trace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/briandfoy","download_url":"https://codeload.github.com/briandfoy/devel-trace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandfoy%2Fdevel-trace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34204177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["debugging","not-cpan-owner","perl","perl-module"],"created_at":"2024-11-14T21:30:43.221Z","updated_at":"2026-06-11T14:31:07.559Z","avatar_url":"https://github.com/briandfoy.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    Devel::Trace - Print out each line before it is executed (like `sh -x')\n\nSYNOPSIS\n      perl -d:Trace program\n\n\nDESCRIPTION\n    If you run your program with `perl -d:Trace program', this module will\n    print a message to standard error just before each line is executed. For\n    example, if your program looks like this:\n\n            #!/usr/bin/perl\n            \n            \n            print \"Statement 1 at line 4\\n\";\n            print \"Statement 2 at line 5\\n\";\n            print \"Call to sub x returns \", \u0026x(), \" at line 6.\\n\";\n            \n            exit 0;\n            \n            \n            sub x {\n              print \"In sub x at line 12.\\n\";\n              return 13;\n            }\n\n\n    Then the `Trace' output will look like this:\n\n            \u003e\u003e ./test:4: print \"Statement 1 at line 4\\n\";\n            \u003e\u003e ./test:5: print \"Statement 2 at line 5\\n\";\n            \u003e\u003e ./test:6: print \"Call to sub x returns \", \u0026x(), \" at line 6.\\n\";\n            \u003e\u003e ./test:12:   print \"In sub x at line 12.\\n\";\n            \u003e\u003e ./test:13:   return 13;\n            \u003e\u003e ./test:8: exit 0;\n\n\n    This is something like the shell's `-x' option.\n\nDETAILS\n    Inside your program, you can enable and disable tracing by doing\n\n        $Devel::Trace::TRACE = 1;   # Enable\n        $Devel::Trace::TRACE = 0;   # Disable\n\n\n    or\n\n        Devel::Trace::trace('on');  # Enable\n        Devel::Trace::trace('off'); # Disable\n\n\n    `Devel::Trace' exports the `trace' function if you ask it to:\n\n        import Devel::Trace 'trace';\n\n\n    Then if you want you just say\n\n        trace 'on';                 # Enable\n        trace 'off';                # Disable\n\n\nTODO\n    *   You should be able to send the trace output to the filehandle of your\n        choice.\n\n    *   You should be able to specify the format of the output.\n\n    *   You should be able to get the output into a string.\n\n\n    We'll see.\n\nAuthor\n    Mark-Jason Dominus (`mjd-perl-trace+@plover.com'), Plover Systems co.\n\n    See the `Devel::Trace.pm' Page at http://www.plover.com/~mjd/perl/Trace\n    for news and upgrades.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriandfoy%2Fdevel-trace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriandfoy%2Fdevel-trace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriandfoy%2Fdevel-trace/lists"}