I'm sorry, I guess my question wasn't clear enough.
Yes, I'm hitting an assertion inside the function
"NS_InitEmbedding" because the call of
"nsComponentManager::AutoRegister" returned NS_FAILED status.
If I continue, the program exits with a list of memeory leaks.
A release build I made runs fine.
My questions are:
What else do I need to do, to get the debug session working?
What may cause "nsComponentManager::AutoRegister" to fail?
I already added the path to the debugging version of xpcom.dll
to my path settings.
Thanks,
Achim
Chak Nanga wrote:
>
> My guess is that you're hitting some sort of an assertion.
>
> Please go ahead and hit "F5" to go beyond that assert (and continue to
> hit F5 for additional asserts, if any) until it runs and/or hits one of
> your own breakpoints, if any.
>
> Thanks
> Chak
>
> Achim �hlenschl�ger wrote:
>
> >I want to explore the embedding interface within
> >the debugger.
> >For that purpose I build Mozilla
> >with MOZ_DEBUG=1 and made a debug build of
> >mfcembed using Visual Studio.
> >When I try to run mfcembed I always hit a
> >user breakpoint which is being called because
> >"autoregistration" has failed.
> >Does anybody know what I'm missing?
> >Is there additional information available on
> >how to do a debug build?
> >Thanks,
> >Achim
> >