[cfe-dev] [cfe-commits] Clang DebugInfo Patch for StopPoints.
Chris Lattner
clattner at apple.com
Wed May 7 23:08:56 PDT 2008
On May 6, 2008, at 12:22 AM, Matthijs Kooijman wrote:
> Hi,
>
>>>> Why emit a stop point on "}"?
>>> Again, this is on the lines of llvm-gcc.
>>> Also, the example http://www.llvm.org/docs/SourceLevelDebugging.html
>>> mentions that.
>> I'd suggest just not doing that :)
> It's probably a good idea to still stop on the closing } of a
> function. Normal
> gcc + gdb also does that IIRC and it helps to see when you're
> exiting a
> function. Not sure if this is also under discussion, though.
>
Stopping at the end of function makes a lot of sense to me. Random
'}'s in the middle of the function seem less useful :)
-Chris
More information about the cfe-dev
mailing list