## `prog::traced` -- find traced functions

#### Introduction

`prog::traced(``)` lists all traced functions.

#### Call(s)

`prog::traced( <obj>)`

#### Parameters

`obj` | - | a MuPAD function, a function environment or a library

#### Returns

`prog::traced` returns the void object `null()`.

#### Related Functions

`prog::trace`, `prog::untrace`

#### Details

- `prog::traced(`obj`)` detects, whether the function `obj` is traced. If `obj` is a library or a function enviroment, then all methods will be checked. If no argument is given, all traced functions will be displayed.

- If a function is traced, a copy of the original function is saved, and the function is manipulated to display additional information during evaluation.

- `prog::traced` determines whether a copy exists and whether the function has been manipulated the way `prog::trace` does.

- There are two messages that occur:

  `A backup of object 'obj' exists` means, a backup of the original object `obj` exists to restore `obj` with `prog::untrace`.

  `Object 'obj' seems to be traced` says, the object `obj` was analyzed and some points suggests this matter.

#### Example 1

The function `sin` is traced:

    >> prog::trace(sin):
       prog::traced(sin)

          A backup of object 'sin' exists.
          Object 'sin' seems to be traced.

#### Changes

- new function

Do you have questions or comments?
Copyright © SciFace Software GmbH & Co. KG 2000