Skip to content

Enable source maps when targeting asmjs in debug mode #36901

Closed

Description

@Thinkofname

This is emcc's -g4 flag. https://kripken.github.io/emscripten-site/docs/tools_reference/emcc.html#emcc-g

Source maps make debugging asmjs code much easier with file name and line number information. I have no idea if this option works for wasm as well.

Activity

  1. brson commented on Dec 31, 2016

    @brson
    Contributor

    Thanks for the suggestion! Seems worth a shot.

  2. added a commit that references this issue on Feb 7, 2017
    87b8c9e
  3. added 2 commits that reference this issue on Feb 8, 2017
    48c220b
    08f4ea4
  4. added a commit that references this issue on Feb 10, 2017
    eed6168
  5. added a commit that references this issue on Feb 10, 2017
    064a0ee
  6. added
    O-emscriptenTarget: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!
    and removed
    O-asmjsTarget: asm.js - http://asmjs.org/
    on Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-emscriptenTarget: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions