scout119 / beamdasm Goto Github PK
View Code? Open in Web Editor NEWErlang\Elixir byte code viewer. BEAM file disassembler extension for Visual Studio Code.
License: Apache License 2.0
Erlang\Elixir byte code viewer. BEAM file disassembler extension for Visual Studio Code.
License: Apache License 2.0
Hi,
Thanks for this extension.
When I try to open some of my beam files there have been compiled with code coverage I get this error Unable to open 'Elixir.Myapp.beam_code': Cannot read property 'ar' of undefined.
This is on OTP 22.0.2 and Elixir master
Elixir-1.14.2-OTP-25-Enum.zip contains an example beam file that shows the error. This is from the Elixir 1.14.2 pre-built release.
I didn't see any other logs to share, but please let me know if there's anything else helpful that I could provide.
Thank you for the very convenient disassembler!
The error I get is:
Unable to open 'bounce.beam_code': The value of "offset" is out of range. It must be an integer. Received NaN.
OTP versions tried: 24.3.3, 25.0
Elixir versions tried: 1.13, 1.14
Operating systems tried: Windows 10, Ubuntu 20.04, MacOS
Expected behavior:
Actual behavior:
Steps to reproduce:
For erlang files:
test1.erl
:-module(test1).
-export([foo/0]).
foo() -> 42.
erlc test1.erl
test1.beam
file and click "Disassemble BEAM"For elixir files:
test1.ex
:defmodule Test1 do
def foo, do: 42
end
elixirc test1.ex
Elixir.Test1.beam
file and click "Disassemble BEAM"A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.