tbreak (gdb mode only)

Set a temporary breakpoint at specified location.

Syntax

tbreak [{func | line | *addr}] [if cond] [thread thread]

Parameters

func

The name of a function.

line

A line number in a source code file.

addr

An address.

cond

A conditional expression. Execution stops when the debugger hits the specified location and this condition evaluates to TRUE.

thread

A thread ID.

Description

This command sets a temporary breakpoint at the specified location.

This command differs from the break command in that the tbreak command creates a temporary breakpoint that is automatically removed after it stops program execution.

Example

(idb) tbreak main

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.