Conditional Breakpoint

View: New views
3 Messages — Rating Filter:   Alert me  

Conditional Breakpoint

by manav.sharma :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I was wondering if insight offers the ability to put 'Conditional Breakpoints'

Regards,
Manav Sharma

Re: Conditional Breakpoint

by Keith Seitz :: Rate this Message:

| View Threaded | Show Only this Message

manav.sharma wrote:

> I was wondering if insight offers the ability to put 'Conditional
> Breakpoints'

This can only be accomplished via the console window and standard gdb
syntax. Use "info break" to get the breakpoint number for your
breakpoint, then use the "condition" command to set the condition (type
"help condition" for more information on using the breakpoint condition
command).

Keith

Re: Conditional Breakpoint

by manav.sharma :: Rate this Message:

| View Threaded | Show Only this Message

Thanks Keith!


Keith Seitz wrote:
manav.sharma wrote:

> I was wondering if insight offers the ability to put 'Conditional
> Breakpoints'

This can only be accomplished via the console window and standard gdb
syntax. Use "info break" to get the breakpoint number for your
breakpoint, then use the "condition" command to set the condition (type
"help condition" for more information on using the breakpoint condition
command).

Keith