ruffle/desktop/src
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
..
audio.rs desktop: Use anyhow errors for desktop audio errors 2022-08-25 23:43:21 +02:00
custom_event.rs desktop: Fetch root movie asynchronously 2022-06-06 21:02:09 +03:00
executor.rs desktop: Use `Arc::new_cyclic` 2022-04-29 09:11:58 -07:00
main.rs avm2: Implement call stack & stack traces (#7564) 2022-08-28 18:30:20 +02:00
navigator.rs core: Require `target` in `NavigatorBackend::navigate_to_url` 2022-08-06 11:20:03 +03:00
storage.rs chore: Appease clippy 2021-06-05 10:16:00 -07:00
task.rs desktop: Switch task to ready state on wake 2020-10-20 23:18:42 -07:00
ui.rs core: Use Cow<str> for FullscreenError in UI backend, as it can't ever be anything else 2022-08-25 23:43:21 +02:00