Domiii / dbux

Dbux is an Integrated Debugging Environment (IDbE) and Omniscient Debugger that makes JavaScript application's run-time behavior come alive, visible and interactive.
https://domiii.github.io/dbux
Apache License 2.0
161 stars 13 forks source link

Fix: array.push and friends register two (instead of one) data nodes? #669

Closed Domiii closed 2 years ago

Domiii commented 2 years ago

For Array.push, two DataNodes are added, both have input set to the argument tids:

  1. One Write on the BCE
    • added by builtins/array.js
  2. One Read on the CRE
    • added by RuntimeMonitor.traceCallResult

Notes:

Sln:

future-work: Maybe consider moving the DataNodes from BCE to CRE?

Screenshot

Somehow, there are two DataNodes for the push call, both have input set to the pushed value's dataNodeId (19 in this case).

image