bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting breakpoint in file (how?)


From: Frank Ross
Subject: Setting breakpoint in file (how?)
Date: Sun, 16 Sep 2001 10:24:18 -0400
User-agent: Pan/0.9.5 (Unix)

I'm kind of a newbie to gdb, and after RTFMing (though I gotta admit, the
manual wasn't very fine), I still don't know what to do. 

I'm trying to set a breakpoint in a file. I understand that you have to
add the directory with the pertinant file by typing 

directory NameOfFile.

After doing this, I tried entering something like

break TheFile.c:41

and I got the message

"Can't find member of namespace, class, struct, or union named
"TheFile.c""

Can anyone shed some light on this?

--Frank



reply via email to

[Prev in Thread] Current Thread [Next in Thread]