{"id":23503524,"url":"https://github.com/realyuniquename/jstack","last_synced_at":"2025-10-14T17:27:35.170Z","repository":{"id":151066929,"uuid":"63622932","full_name":"RealyUniqueName/JStack","owner":"RealyUniqueName","description":"Friendly stack traces for Haxe/JS and Haxe/PHP. Makes haxe.CallStack point to haxe sources.","archived":false,"fork":false,"pushed_at":"2019-08-27T15:49:53.000Z","size":55,"stargazers_count":31,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-16T17:56:15.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RealyUniqueName.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":"2016-07-18T17:23:37.000Z","updated_at":"2023-08-23T15:45:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0fe62d7-8ef9-4f08-9529-6538756b6288","html_url":"https://github.com/RealyUniqueName/JStack","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealyUniqueName%2FJStack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealyUniqueName%2FJStack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealyUniqueName%2FJStack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealyUniqueName%2FJStack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RealyUniqueName","download_url":"https://codeload.github.com/RealyUniqueName/JStack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252531905,"owners_count":21763300,"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":[],"created_at":"2024-12-25T08:30:02.444Z","updated_at":"2025-10-14T17:27:30.124Z","avatar_url":"https://github.com/RealyUniqueName.png","language":"Haxe","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JStack\n\nThis library automatically transforms `haxe.CallStack.callStack()`, `haxe.CallStack.exceptionStack()` and uncaught exceptions where possible to make them point at Haxe sources instead of generated js or php files.\nThe only supported targets are `js` and `php7` (as of 2017-02-24 you need latest development version of Haxe for php7 support).\n\nWorks only in debug mode or when `-D JSTACK_FORCE`.\nDoes not affect your app if compiled without `-debug` and `-D JSTACK_FORCE` flags or to unsupported target.\n\n*2017-10-02 till Haxe 4 is released* if you want to use JStack for php target with the latest development version of Haxe, add `-D JSTACK_HAXE_DEV`.\n\n## Installation\n```haxe\nhaxelib install jstack\n```\n\n## Usage\nJust add JStack to compilation with `-lib jstack` compiler flag.\n\n## Clickable positions in stack traces.\n\nIf your IDE supports clickable file links in app output, you can specify a pattern for call stack entries:\n```haxe\n-D JSTACK_FORMAT=%symbol% at %file%:%line%\n//or predefined pattern for VSCode\n-D JSTACK_FORMAT=vscode\n//or predefined pattern for IntelliJ IDEA\n-D JSTACK_FORMAT=idea\n```\n![](http://i.imgur.com/OgRnQOI.gif)\n\n## Custom entry point\n\nIf you don't have `-main` in your build config, then you need to specify entry point like this:\n```\n-D JSTACK_MAIN=my.SomeClass.entryPoint\n```\nIf you want an entry point to return a value, add `-D JSTACK_ASYNC_ENTRY` to compilation flags.\nIt will switch JStack to loading sourcemap in background without blocking an entry point execution.\n\n## Avoiding `process.exit` on NodeJS\n\nBy default JStack invokes `process.exit(1)` on uncaught exceptions in NodeJS environment. Use `-D JSTACK_NO_SHUTDOWN` to prevent this behavior.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealyuniquename%2Fjstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealyuniquename%2Fjstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealyuniquename%2Fjstack/lists"}