Skip to content

Source mapping doesn't work with multiple sources in one map #84

@Zorbn

Description

@Zorbn

The source mapping feature works well when each lua file has its own .lua.map file. However, when using the luaBundle feature of TypeScriptToLua or other tools that generate a single lua file with one .lua.map which points to many source files, the debugger seems to get breakpoints across different files mixed up, and often skips them. For example, if you have a breakpoint in a file like foo.ts in the love-ts test, but no breakpoint in main.ts, then the debugger will ignore the breakpoint in foo.ts and never break.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions