We have the following code in our Run method:

  #ifdef DEBUG
     Debugger.Launch();
  #endif

When we compile as debug and then run the bundle, we get a prompt to attach
a debugger from this Debugger.Launch() call. On the dev box (with Visual
Studio installed) this would normally be a list of open Visual Studio
instances - we simply choose the one that has the correct solution open,
and we can debug. When debugging remotely, the prompt is different - it's a
Retry/Cancel prompt. We make sure we have the remote debug monitor
installed, select Retry and then choose to Attach Process in the correct
instance of Visual Studio on our dev box. Then we enter the machine IP and
connection credentials and we can debug.

On 31 January 2015 at 20:11, Phill Hogland <phogl...@rimage.com> wrote:

> To debug my WPF BA, I just build all projects against the installed
> released
> wix 3.9 RTM (or 3.9 R2 installed).  Then I go back to my WPF project and
> enable debug/trace in project properties, add a Debugger.Launch() line to
> the code of interest,  and set the start path to point at the bundle exe.
> Then compile the WPF project and the bundle again.  Then right-click on the
> WPF project (in VS) select Debug instance.
>
>
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-9-R2-Debugging-WPF-Burn-Application-tp7599102p7599103.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to