On Wednesday, November 21, 2012 12:06:32 AM UTC-5, Robert O'Callahan wrote:
> On Wed, Nov 21, 2012 at 4:07 PM, <net...@gmail.com> wrote:
> 
> Actually that seems quite easy. For example in FrameLayerBuilder.cpp I can
> add gMaskLayerImageCache to the watch window with no problems, even though
> it's in mozilla::{anonymous namespace}. Maybe it being static as well helps?

Ya static is what makes that work.

> I don't know how. For example, I don't know how to set a breakpoint by name
> on GetMaskLayerImageCache, or ContainerState::ProcessDisplayItems. I have
> to open up the source file and click on a line. I also don't know how to
> cast to a ContainerState* in the expression evaluator.

I was basically arguing a different point than what you meant. I was arguing 
that you can put a breakpoint on an anonymous symbol.  Just not "by" an 
anonymous symbol easily. For example you can use the visual editor or set it by 
line number on top of an anonymous symbol.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to