Skip to main content

FAQ

Why don't My Applications Show Up?

In order to analyze an application, it first needs to be recorded and sub-sequently show up in the application view.

There can be a multitude of possible reasons for this to go wrong:

  1. You did not instrument the application. Make sure to use one of the four methods of Running a JavaScript Application w/ Dbux Enabled.
  2. Your application exited prematurely due to a crash or process.exit being called. In that case, Dbux might not have been able to send out the data on time. Usually, this is accompanied by a console message that reads a little like "Process exiting but not all data has been sent out. Analysis will be incomplete. This is probably because of a crash or because process.exit was called manually.".
    • Note that some environments (such as Jest) might swallow important console messages, which would explain why you were not able to see the message.
    • In order to prevent this situation, Dbux tries (rather aggressively) to keep an instrumented application alive. If it does, it would accompany its moves with further log messages. Look for the hints.
  3. Your application has an infinite loop or otherwise starves the network queue.
    • Since Dbux relies on the network queue to send data back to the mothership, it requires the code to give up control for that to happen first. Thus, Dbux is not (currently) a good tool to help in dealing with infinite loops or starvation.
  4. You are not running on localhost.

How to Use Commands?

Dbux offers several commands. This is how commands work in VSCode:

  1. Press F1 or CTRL/Command + Shift + P
  2. Search for a command... (type the name or some letters of the name)
  3. Select the command (Enter)
  4. See it execute.
  5. Official documentation for VSCode Command Palette.

Why is someFile.js not Traced?

If you are certain that a file executed in a Dbux-enabled application, make sure your configuration is set up to include the file in that specific package or path.

It Just Won't Work!

While technically not a question, this is certainly a frustrating experience to encounter.

Please don't hesitate to reach out. We recommend using our GitHub Issues Page to file well-written reports/complaints, or join us on Discord to ask questions about or discuss whatever it is you encountered.