locked
Application is not getting launched from visual studio. RRS feed

  • Question

  • Hi,

    I have an application. I don't have any build errors. But when I try to launch the application, its closing when its about to launch. I saw below messages in output window.

     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'vshost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'Microsoft.Practices.Prism.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded '\Microsoft.Practices.Unity.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Deployment\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll'. Cannot find or open the PDB file.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll'. Cannot find or open the PDB file.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
     : Loaded 'ApplicationFramework.Core.Logging.dll'. Symbols loaded.
     : Loaded ' Symbols loaded.
     : Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsFormsIntegration\v4.0_4.0.0.0__31bf3856ad364e35\WindowsFormsIntegration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    The thread 0x33d4 has exited with code 259 (0x103).
    The thread 0x18d4 has exited with code 0 (0x0).
    The thread 0x23b8 has exited with code 0 (0x0).
    The thread 0x1254 has exited with code 259 (0x103).
     : Loaded '. Symbols loaded.
     : Loaded ''. Symbols loaded.
     : Loaded ''. Symbols loaded.
    The program 'vshost.exe' has exited with code -1073740771 (0xc000041d).

    Tuesday, April 22, 2014 1:27 PM

Answers

  • You're apparently testing a Windows.Forms application.

    Set a breakpoint at the InitializeComponent() function and start the application with Debug > Start Debugging (F5).

    If you still experience the same result, check your debugging settings. The Debug tab of the project properties should be set to (*) Start project.

    • Marked as answer by Anna Cc Wednesday, April 30, 2014 8:42 AM
    Wednesday, April 23, 2014 8:54 AM
  • Hi,

    Please check the "Enable Just My Code" settings:

    tools -> options -> debugging

    If it can not help you, could you please tell us any steps to reproduce this issue. Or anything about your project.

    Best regards,

    Sunny



    • Edited by Anna Cc Wednesday, April 23, 2014 9:30 AM
    • Marked as answer by Anna Cc Wednesday, April 30, 2014 8:42 AM
    Wednesday, April 23, 2014 9:18 AM

All replies

  • You're apparently testing a Windows.Forms application.

    Set a breakpoint at the InitializeComponent() function and start the application with Debug > Start Debugging (F5).

    If you still experience the same result, check your debugging settings. The Debug tab of the project properties should be set to (*) Start project.

    • Marked as answer by Anna Cc Wednesday, April 30, 2014 8:42 AM
    Wednesday, April 23, 2014 8:54 AM
  • Hi,

    Please check the "Enable Just My Code" settings:

    tools -> options -> debugging

    If it can not help you, could you please tell us any steps to reproduce this issue. Or anything about your project.

    Best regards,

    Sunny



    • Edited by Anna Cc Wednesday, April 23, 2014 9:30 AM
    • Marked as answer by Anna Cc Wednesday, April 30, 2014 8:42 AM
    Wednesday, April 23, 2014 9:18 AM