MGunit documentation

Unit testing for IDL

single page | use frames     summary     class     fields     routine details     file attributes

cmdline_tools/

mg_breakpoint.pro


Convenience wrapper for BREAKPOINT that finds files in !path without having to use a full path specification.

Routines

result = mg_breakpoint_getpath(name)

Finds the path to a given routine.

mg_breakpoint, name, line [, /routine] [, _extra=keywords]

A helpful wrapper for BREAKPOINT which finds files in the !path and allows relative line numbers within routines.

Routine details

top mg_breakpoint_getpath

result = mg_breakpoint_getpath(name)

Finds the path to a given routine.

Return value

string

Parameters

name in required type=string

routine name

top mg_breakpoint

mg_breakpoint, name, line [, /routine] [, _extra=keywords]

A helpful wrapper for BREAKPOINT which finds files in the !path and allows relative line numbers within routines.

Parameters

name in required type=string

name of file (with or without the .pro extension) or routine (when the ROUTINE keyword is set)

line in required type=integer

line number with the file (normally) or routine (when ROUTINE keyword is set)

Keywords

routine in optional type=boolean

set to specify a routine name and a line number within the routine definition

_extra in optional type=keywords

keywords to BREAKPOINT

Other attributes

Todo:

fix up line number when ROUTINE keyword is set

File attributes

Modification date: Tue Oct 19 18:48:10 2010
Lines: 97
Docformat: rst rst