NativeScript / NativeScript/android

Merge native and Js stacktraces

Open
#278 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature severity: low
Dominant language
C++
Stars
563
Forks
144
Avg merge
10h 46m
Merged PRs (30d)
14

Description

Try using Error.prepareStackTrace(error, structuredStackTrace) to merge native and JS stack traces into one.

https://github.com/v8/v8/wiki/Stack%20Trace%20API

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the V8 Stack Trace API linked in the issue, focusing on Error.prepareStackTrace and structuredStackTrace. Locate the NativeScript Android runtime entry point that creates or reports stack traces; done means native and JavaScript frames are merged into one stack trace.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp, javascript
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.