diff --git a/Documentation/cli/locspec.md b/Documentation/cli/locspec.md index 0d0902f09f4c182b01f8182e69b50ae6ef7d6a79..c779b99a430d25acf71b6325ea6f409bf47f9dba 100644 --- a/Documentation/cli/locspec.md +++ b/Documentation/cli/locspec.md @@ -7,5 +7,6 @@ Several delve commands take a program location as an argument, the syntax accept * `` Specifies the line *line* in the current file * `+` Specifies the line *offset* lines after the current one * `-` Specifies the line *offset* lines before the current one -* `[:]` Specifies the line *line* inside *function*. The full syntax for *function* is `.(*).` however the only required element is the function name, everything else can be omitted as long as the expression remains unambiguous. +* `[:]` Specifies the line *line* inside *function*. The full syntax for *function* is `.(*).` however the only required element is the function name, everything else can be omitted as long as the expression remains unambiguous. For setting a breakpoint on an init function (ex: main.init), the `:` syntax should be used to break in the correct init function at the correct location. + * `//` Specifies the location of all the functions matching *regex*