Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Scilab > Debugging > where

where

get current instruction calling tree

Calling Sequence

[linenum,mac]=where()

Arguments

linenum

a column vector of integers

mac

a column vector of strings

Description

[linenum,mac]=where() returns linenum and mac such as current instruction has been called by the linenum(1) line of function mac(1), mac(1) has been called by the linenum(2) line of function mac(2) and so on.

mac(i) is in general the name of a function but it may also be "exec" or "execstr" if instruction lies in an exec file or an execstr instruction.

See Also

  • whereami — display current instruction calling tree
  • pause — pause mode, invoke keyboard
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:34:33 CEST 2012