<break_strings_v2>.bp-run-until-console-string <break_strings_v2>.bp-wait-for-console-string
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<break_strings_v2>.bp-trace-console-string

Synopsis

<break_strings_v2>.bp-trace-console-string "string" [-regexp]

Description

Enable tracing of appearances of the text string on the console.

Example of waiting for a typical shell prompt on console object $con:

bp.console_string.trace $con "~ $"

If -regexp is specified, the breakpoint string will be interpreted as a regular expression (regexp). The regexp syntax follows the common Perl style, as interpreted by the Hyperscan library https://hyperscan.io.

Note that the string is a Simics CLI string, and thus \ has to be escaped as \\ when writing the regexp.

Examples:

For more information about regular expression syntax, see https://perldoc.perl.org/re.html.

Provided By

bp-manager
<break_strings_v2>.bp-run-until-console-string <break_strings_v2>.bp-wait-for-console-string