Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

load breakpoint file error

I have previously saved list of breakpoints using

save breakpoints blist

now after compiling the program when I try to reload the same break points with the load command

load blist

I get this error

You can't do that when your target is `exec'

How to resolve this ?

like image 349
Vihaan Verma Avatar asked Sep 22 '12 08:09

Vihaan Verma


1 Answers

load blist

Try source blist instead.

From "help save breakpoints":

Save current breakpoint definitions as a script.

The way to read a script is the source command. The load command means something different entirely.

like image 176
Employed Russian Avatar answered Nov 19 '22 13:11

Employed Russian