none
Visual studio cant debug

    Question

  • I receive the following error when  debug,any help?

    The thread 0x20b4 has exited with code 0 (0x0).
    'winupdates.vshost.exe' (CLR v4.0.30319: winupdates.vshost.exe): Loaded 'C:\Users\myname\documents\visual studio 2015\Projects\winupdates\winupdates\bin\Debug\winupdates.exe'. Symbols loaded.
    Step into: Stepping over non-user code 'winupdates.Program.<>c__DisplayClass18_0..ctor'
    'winupdates.vshost.exe' (CLR v4.0.30319: winupdates.vshost.exe): 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.
    The thread 0x1f2c has exited with code 0 (0x0).
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.IO.IOException' in mscorlib.dll
    The thread 0x11a0 has exited with code 0 (0x0).
    Exception thrown: 'System.IO.IOException' in mscorlib.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.IO.IOException' in mscorlib.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    The thread 0x1884 has exited with code 0 (0x0).
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.IO.IOException' in mscorlib.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    The thread 0x22e4 has exited with code 0 (0x0).
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    The thread 0x1998 has exited with code 0 (0x0).
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    The thread 0x2718 has exited with code 0 (0x0).
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    Exception thrown: 'System.Net.Mail.SmtpException' in System.dll
    Exception thrown: 'System.ComponentModel.Win32Exception' in System.Drawing.dll
    Exception thrown: 'System.Runtime.InteropServices.ExternalException' in System.Drawing.dll
    The program '[2324] winupdates.vshost.exe' has exited with code -1 (0xffffffff).

    Wednesday, November 02, 2016 10:39 AM

All replies

  • Hi MustafaDamus,

    Which kind of app did you debug?

    Please enable the Microsoft symbols server under TOOLS->Options->Debugging->Symbol.

    Debug -> Windows -> Module, you could load the symbols manually.

    To disable "Just my code", please open Tools -> options -> Debugging -> General and clear the checkbox "Enable Just my code (Managed only)"

    You could disable the "Optimize code" under project property.

    And then re-debug it again.

    In addition, you could enable the Exception settings windows under Debug->Windows, and then add a breakpoint in your side, debug it using step into after the breakpoint was hit, so it has the unhandled exception, it would throw the exception during debugging.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Sunday, November 06, 2016 7:36 AM
    Moderator
  • Hi MustafaDamus,

    What about this issue? Would you please let me know the latest information about this issue?

    Sincerely,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Saturday, November 19, 2016 11:09 AM
    Moderator