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

SourceMapが行番号を取得しない問題 #96

Open
mitsuyoshi-yamazaki opened this issue Jun 16, 2024 · 0 comments
Open

SourceMapが行番号を取得しない問題 #96

mitsuyoshi-yamazaki opened this issue Jun 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mitsuyoshi-yamazaki
Copy link
Owner

問題

  • SourceMapConsumer.originalPositionFor() が無限ループに入り強制終了される

その他

  • 元々の ErrorMapper の実装上、 Error 以外がthrowされた際に再throwされていた

原因

  • GCC組み込み時にコンパイル結果の main.js もしくは main.map.js の構造が変わったためだと思われる
# 生スタックトレース
parsing... 236, 402
Error
    at d (main:236:402)
    at main:237:40
    at processStore.listProcesses.forEach.a (main:2479:529)
    at Array.forEach ()
    at Object.run (main:2479:411)
    at ErrorMapper.wrapLoop (main:2493:420)
    at main:236:230
    at systemCallLifecycles.forEach.a (main:2493:447)
    at Array.forEach ()
    at Kernel.run (main:2493:367)

参照

@mitsuyoshi-yamazaki mitsuyoshi-yamazaki added the bug Something isn't working label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant