## Epiphany Debug Helpers Epiphany Debug Helpers — Epiphany debugging and profiling facilities |

## Synopsis

    void                ephy_debug_init                     (void);
    void                ephy_profiler_start                 (const char *name,
                                                             const char *module);
    void                ephy_profiler_stop                  (const char *name);

## Description

Epiphany includes powerful profiling and debugging facilities to log and analyze modules. Refer to doc/debugging.txt for more information.

## Details

### ephy_debug_init ()

    void                ephy_debug_init                     (void);

Starts the debugging facility, see doc/debugging.txt in Epiphany's source for more information. It also starts module logging and profiling if the appropiate variables are set: EPHY_LOG_MODULES and EPHY_PROFILE_MODULES.

### ephy_profiler_start ()

    void                ephy_profiler_start                 (const char *name,
                                                             const char *module);

Starts a new profiler on `module` naming it `name`.

`name` : | name of this new profiler
`module` : | Epiphany module to profile

### ephy_profiler_stop ()

    void                ephy_profiler_stop                  (const char *name);

Stops the profiler named `name`.

`name` : | name of the profiler to stop