ruffle/desktop
EmperorBale f8289b47d8
avm2: Implement call stack & stack traces (#7564)
* avm2: Implement call stack

* avm2: Class traits should have a special prefix

* avm2: Stack tracebacks should also contain error message

* avm2: Move method naming to Executable

* avm2: Handle getter and setter methods in tracebacks

* chore: Formatting

* chore: Add comments

* avm2: Make full_name write to a string, instead of creating a new one

* core: Make GcArena publicly accessible

* core: Add Deref impl for Either type

* desktop: Add AVM2 call stack to panic message

* avm2: Prefix native methods with a `/`

* chore: Appease clippy

* avm2: Check if method actually contains bytecode instead of unwrapping

* web: Add AVM2 stack trace to panic message

* chore: Formatting

* chore: Clippy

* avm2: Fix stack traces for free standing functions

* core: Remove global data from context

* core: Rename GcGlobalData to GcCallstack

* core: Introduce StaticCallstack, make GcArena private again

Co-authored-by: Adrian Wielgosik <4729533+adrian17@users.noreply.github.com>
2022-08-28 18:30:20 +02:00
..
assets desktop: Enable outgoing network requests on macOS app sandbox 2022-03-30 11:37:25 -07:00
packages/macOS/Contents Specify Ruffle's accent color on macOS. 2022-03-17 17:15:14 -06:00
src avm2: Implement call stack & stack traces (#7564) 2022-08-28 18:30:20 +02:00
Cargo.toml desktop: Use anyhow errors for desktop audio errors 2022-08-25 23:43:21 +02:00
build.rs chore: Use into() in more places 2021-06-22 11:49:41 -07:00