Giter VIP home page Giter VIP logo

Comments (6)

mcourteaux avatar mcourteaux commented on August 18, 2024

Yes please! C++ source isn't loading right now.

from lensm.

egonelbre avatar egonelbre commented on August 18, 2024

@mcourteaux can you provide a minimal repro, it'll be easier to test.

from lensm.

mcourteaux avatar mcourteaux commented on August 18, 2024

Sure:

#include <cstdio>

int main(int argc, char** argv) {
  std::printf("hello\n");
  return 0;
}

Compile it:

g++ main.cpp -o repro

Start lensm (not even sure if this is the default way, I don't use use go):

go run loov.dev/lensm@main repro

Result:
image

from lensm.

egonelbre avatar egonelbre commented on August 18, 2024

You also need to include dwarf information in the binary -- i.e. g++ -gdwarf main.cpp -o repro. It might work on linux already, but I haven't tested.

For installing the tool go install loov.dev/lensm@main, it'll put it in $HOME/go/bin by default. But using go run is fine as well, except it might try to fetch the latest version every time.

from lensm.

mcourteaux avatar mcourteaux commented on August 18, 2024

Just tried your suggestion, and it still isn't working. Is there some verbose mode that could give you more information? Thanks for telling me about go install. 😄

from lensm.

egonelbre avatar egonelbre commented on August 18, 2024

@mcourteaux if it doesn't work, then my guess was just wrong :).

from lensm.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.