Maybe I don't understand what "it could not step into the code" means, but I've 
always been able to debug *my* custom action code in that manner.  (You would 
not be able to step into the core DTF code, of course, unless you have the 
source, have built it yourself, and have all the debugging symbols.)

######################################
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`;


-----Original Message-----
From: Dave Largen [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 10:51 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

I keep the .dll and pdb files in the same location but there is no pdb for
the .dll generated from MakeSFXCA application.

-----Original Message-----
From: Brian Rogers [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 12:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

That might be a problem with symbols.  Did you keep your DLLs and PDB files
in their original locations after you built them?

######################################
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`;


-----Original Message-----
From: Dave Largen [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 8:51 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

I just tried both techniques the one Chris mentioned is how I've always
debugged my managed custom actions but it did not work with DTF for some
reason.  The Debugger.Launch method did pop up the visual studio launch
dialog but it could not step into the code.

-----Original Message-----
From: Brian Rogers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 4:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

What I did when debugging some of my DTF code was put a call to
Debugger.Launch() right at the beginning of my custom action.  At that
point, I could easily attach and step through the code with the debugger.

######################################
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`;


-----Original Message-----
From: Christopher Karper [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 6:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Debugging a DTF Managed Custom Action

There is a way using Environment variables to set a breakpoint, but I've
found that to be more trouble than it's worth. You can put a call at the
beginning of your CA to MessageBox.Show, and then when that pops up, you can
attach to the process then.   Make sure you attach to the CA managed
process, not the installer process.

Chris

On Tue, Nov 4, 2008 at 2:11 PM, Dave Largen <[EMAIL PROTECTED]> wrote:

> Is there any way to step into a managed DTF Custom Action with a visual
> studio debugger?  With regular managed custom actions I can attach
directly
> to the process running the custom action and step through the code.
>
> Thanks,
> Dave
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to