Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.8.3] When js encounters an error code, it is unable to correctly output the code call stack information mapped by sourceMap #17201

Open
zhefengzhang opened this issue Jun 21, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@zhefengzhang
Copy link
Contributor

Cocos Creator version

3.8.3

System information

android 7

Issue description

When using Creator 3.8.2, the sourceMap-mapped stack trace information could be output normally. However, after upgrading to Creator 3.8.3, the sourceMap-mapped stack trace information cannot be output correctly.

在 Creator 3.8.2 时可以正常输出 sourceMap 映射的堆栈信息,升级到 Creator 3.8.3 之后无法正常输出 sourceMap 映射的堆栈信息。

Creator 3.8.2
4599cd0832bb53fe64d23806bae133ee

Creator 3.8.3
f0270f5d10e3af1d99fee34b63f8a8df

Relevant error log output

Steps to reproduce

Minimal reproduction project

No response

@zhefengzhang zhefengzhang added Bug Needs Triage Needs to be assigned by the team labels Jun 21, 2024
@zhefengzhang
Copy link
Contributor Author

After adding the code error(e); here, the sourceMap-mapped js stack trace information can be output normally.

在此处添加 error(e); 这句代码后可以正常输出 sourceMap 映射的 js 堆栈信息。
e183eb97bf3f4a0d6187ed35dbb696e0

@zhefengzhang
Copy link
Contributor Author

@dumganhar

@dumganhar dumganhar self-assigned this Jun 24, 2024
@dumganhar dumganhar added P2 and removed Needs Triage Needs to be assigned by the team labels Jun 24, 2024
@dumganhar dumganhar added this to the 3.8.5 milestone Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants