debugger — debugger v5.4

Search documentation of debugger

# View Source debugger (debugger v5.4)

The Erlang Debugger for debugging and testing of Erlang programs.

# Summary

## Functions

quick(Module, Name, Args)

Debugs a single process.

start()

Starts Debugger.

start(ModeOrFile)

Starts Debugger.

start(Mode, File)

Starts Debugger.

# Functions

Link to this function

# quick(Module, Name, Args)

View Source

    -spec quick(Module, Name, Args) -> term() when Module :: atom(), Name :: atom(), Args :: [term()].

Debugs a single process.

The module `Module` is interpreted and `apply(Module, Name, Args)` is called. This opens an "Attach Process" window. For details, see the User's Guide.

Link to this function

# start()

View Source

    -spec start() -> term().

Starts Debugger.

Started by this function, Debugger interprets code on all known nodes.

Link to this function

# start(ModeOrFile)

View Source

    -spec start(Mode) -> term() when Mode :: local | global | wx;
               (File) -> term() when File :: string().

Starts Debugger.

If `ModeOrFile` is a string, it is assumed to be the name of a file, and Debugger tries to load its settings from this file. For details about settings, see the User's Guide.

If `ModeOrFile` is atom `local`, Debugger interprets code only at the current node. If `ModeOrFile` is `global`, Debugger interprets code on all known nodes.

Link to this function

# start(Mode, File)

View Source

    -spec start(Mode, File) -> term() when Mode :: local | global, File :: string().

Starts Debugger.

Debugger tries to load its settings from the file named by `File`. For details about settings, see the User's Guide.

If `Mode` is `local`, Debugger interprets code only on the current node. If `Mode` is `global`, Debugger interprets code on all known nodes.