Hello,

  Here is how I am trying to set a breakpoint in my c++ code:

$ gdb ./bin/mytest
(gdb) run -i foo
(gdb) rb Class::TemplateFunction
(gdb) r
  -> y
...
Breakpoint 2, Class::TemplateFunction<T> at Class.txx:33
(gdb) delete 2
(gdb) break 43
(gdb) cont

And the program goes right to the end, displaying message as indicated
on line Class.txx:43

Code was compiled using g++ 4.2 (debian) with compile option -g

What I am doing wrong ?

Thanks
-Mathieu

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to