Boost logo

Boost Users :

Subject: Re: [Boost-users] can't debug into BOOST_FOREACH?
From: Christoph Gysin (christoph.gysin_at_[hidden])
Date: 2009-03-02 08:41:01


> AFAIK BOOST_FOREACH is a macro. Therefore it is expanded by pre-processor
> into the real code. Can you debug into macros with g++/gdb anyway? MSVC
> supports that, but what about g++/gdb?

BOOST_FOREACH is a macro, but that doesn't affect the following block of code.

Breakpoints inside the block following a BOOST_FOREACH work fine here
(g++-4.3.2, gdb-6.8)

Chris

-- 
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org_at_fr33z3

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