Boost logo

Boost Users :

Subject: Re: [Boost-users] can't debug into BOOST_FOREACH?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-03-02 08:21:33


Stephan Menzel wrote:

> Hi there,
>
> I just noticed there seems to be no way of debugging into a BOOST_FOREACH loop... Is that true?
>
> I use g++ 4.3 / gdb 6.8 here and neither would the debugger stop any any breakpoint inside such
> loops nor can I step into them from outside. Is this supposed to be like that?

For me, breakpoint inside BOOST_FOREACH works. Stepping into it also works, except that you
have to pass by untold millions of axillary functions. g++ 4.2, gdb 6.8

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net