getappmap / appmap-agent-js

This project is deprecated. Please use https://github.com/getappmap/appmap-node/ to record Node.js applications.
Other
27 stars 8 forks source link

JS Agent yields appmaps without sequence diagrams #219

Closed ahtrotta closed 1 year ago

ahtrotta commented 1 year ago

In our appmap-js repository, I ran this command in packages/cli:

npx @appland/appmap-agent-js@latest -- jest --no-cache

And it generated appmaps without a sequence diagram.

As of this writing, the command:

npx @appland/appmap-agent-js@latest --version

Yields: @appland/appmap-agent-js@13.8.0.

kgilpin commented 1 year ago

What does this mean?

On Fri, Apr 28, 2023 at 1:08 PM Adam Trotta @.***> wrote:

— Reply to this email directly, view it on GitHub https://github.com/getappmap/appmap-agent-js/issues/219, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAVC63K3ZHHX2EIB5AMJ2LXDP2PFANCNFSM6AAAAAAXPPT3DE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ahtrotta commented 1 year ago

If you open the appmap and open the Sequence Diagram tab, then you'll see that it is blank.

ahtrotta commented 1 year ago

Image

ahtrotta commented 1 year ago

The Dependency Map and Trace View are not empty, though:

Image

kgilpin commented 1 year ago

The AppMap file must be missing something.

Do you see any console errors?

On Fri, Apr 28, 2023 at 1:41 PM Adam Trotta @.***> wrote:

The Dependency Map and Trace View are not empty, though:

[image: Image] https://user-images.githubusercontent.com/45714532/235216703-8c05966f-5b5d-48f5-80a4-ec7cd76a0e3d.png

— Reply to this email directly, view it on GitHub https://github.com/getappmap/appmap-agent-js/issues/219#issuecomment-1527887604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAVC6Y7JO6DQWKV6L2WZBTXDP6MVANCNFSM6AAAAAAXPPT3DE . You are receiving this because you commented.Message ID: @.***>

ahtrotta commented 1 year ago

No, I didn't see any console errors. Here's an example appmap file.

prune subcommand works.zip

dustinbyrne commented 1 year ago

FYI @lachrist, I've seen this happen when code objects (probably packages in particular) are missing from classMap.