This is a question better asked on wix-devs (to cover the debugging aspects). The assert is telling you that something is incorrectly passing NULL to a dutil string function. It *may* be okay but it could also indicate a huge problem. Try attaching your debugger with both native and managed code debuggers checked and then clicking Debug should cause the debugger to drop into Burn code to look at the issue. Can follow up more on wix-devs.
On Fri, Sep 27, 2013 at 7:41 AM, Phill Hogland <phogl...@rimage.com> wrote: > Originally I created a bundle (with Wix 3.7 and the WixExtendedBA) which I > later converted to use Wix 3.8 and the BAFunctions. I also compiled a > debug > version of Wix 3.8 which my project links too. By setting a break point in > the BAFunction.DLL I can step into the Wix 3.8 burn engine code and see > what > is going on. > > Now I have decided to replace the BA/BAFunction.dll with a MBA. Using the > Wix 3.7 installer MBA as an example I created my MBA application. Now that > I have hooked it into the bundle I am getting an Assert in strutil.cpp > StrAllocString() on line 277 Assert(ppwz && wzSource); > > While I can launch a debug build and step through my MBA, I did not find > anyway to step from there into the Wix code so that I can determine why > this > assert is happening. If I click on Ignore in the Assert message, the > bundle > runs to completion and there are no entries in the verbose log that would > indicate any problem with any string. If I click on Debug in the Assert > message the application terminates. > > When stepping through the MBA the Assert pops up in MyClass::Run() when the > code to 'create the UI' is executed. Specifically at MyMBA.View = new > RootView(viewModel); > > I am still trying to learn the basics of MVVM so any pointers on how to > debug this situation would be appreciated. Thanks! (I am using VS2010 on > both Win7_x64 and Win8_x64). > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-MBA-how-to-debug-strutil-cpp-line-277-Assert-tp7589279.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users