question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[REQUEST]: Track source locations in `solc`

See original GitHub issue

Is your feature request related to a problem? Please describe

Almost every compiler emits debug info that lets us track the relationship between source and assembly. The solc compiler either doesn’t have this or it isn’t parsed correctly. e.g. https://godbolt.org/z/KTrM1nEj4 there’s no coloured backgrounds showing the relationship between source and asm.

Describe the solution you’d like

Highlighting, like other langauges.

Describe alternatives you’ve considered

na

Additional context

Not applicable

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
RubenRBScommented, Apr 19, 2022

Nice! Let us know if you have any questions regarding the codebase

1reaction
anders-torbjornsencommented, Apr 19, 2022

Making some progress FQt7mj1X0AcBEXH

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the Compiler — Solidity 0.8.17 documentation
Note that the fully qualified library name is the path of its source file and the library name separated by : . You...
Read more >
solc-js/README.md at master - GitHub
--base-path represents the root of your own source tree while --include-path allows you to specify extra locations containing external code (e.g. libraries ...
Read more >
Unable to deploy the smart contract using solc compiler in mac
I am trying to deploy the Lottery contract using solc compiler of verison ... solc.compile(source, 1).contracts[':Lottery']; const path ...
Read more >
tron-solc - npm
The compile() method always returns an object, which can contain errors , sources and contracts fields. errors is a list of error mesages....
Read more >
TypeError: Cannot read property 'compile' of undefined
Switch back to v0.8.0 and change the import on line #3 to const solc = require('solc'); I could get Example usage without the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found