The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

Debug Launch()

Last post 09-24-2008, 5:10 AM by tronic. 4 replies.
Sort Posts: Previous Next
  •  09-23-2008, 2:57 AM 8407

    Debug Launch()

    Hey People.

    Did anybody know a solution to debug the Launch() Method?
    When I attach to Process with Visual Studio Launch() has already been passed.

    regards, tronic
  •  09-23-2008, 9:18 AM 8413 in reply to 8407

    Re: Debug Launch()

    It shouldn't have - until you press "OK" at the "To debug this application, attach a debugger and press OK" dialog the process shouldn't have hit Launch.  Are you seeing this dialog in Media Center?

    Cheers,
    Andrew

  •  09-24-2008, 3:34 AM 8417 in reply to 8413

    Re: Debug Launch()

    No, I do not see this Dialog.

    I have test it with this guide:

    Link

    regards, tronic
  •  09-24-2008, 4:14 AM 8418 in reply to 8417

    Re: Debug Launch()

    At times I've seen this registry change not taking effect and I've had to apply it a second time and/or reboot the actual computer. So open regedit again and make sure it's there (with VMC closed).

    Other than the setting not "sticking" I've never had a problem with it not displaying the dialog.

  •  09-24-2008, 5:10 AM 8419 in reply to 8418

    Re: Debug Launch()

    Shame on me.

    Sorry.

    In my registry was EnableAddInLaunchDebugging - not  - EnableAddinLaunchDebugging.

    See the "I". I wrote it like the Class AddInHost :(.
    So many times I have it overlooked.

    Thanks people.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems