c# - Visual Studio 2008 would not debug -
im trying to debug the following code
system access; Public class guardian {string parentString; Public parent () {Console.WriteLine ("parent manufacturer."); } Public parent (string mystring) {parentString = myString; Console.WriteLine (parentString); } Public Zero Print () {Console.WriteLine ("I am an original class."); }} Public Class Children: Parent {Public Child (): Base ("From Derivative") {Console.WriteLine ("Child Creator."); } Public New Zero Print () {base.print (); Console.lightline ("i am a child class"); } Public static vacant (main) (child) = new child (); Child.print (); (Parent) child) .print (); }}
But the console only shines on the screen, the output window has the following message ...
Generates 'ConsoleApplication1.vshost.exe' (Managed) : loaded 'C: \ Windows \ assembly \ GAC_32 \ mscorlib \ 2.0.0.0__b77a5c561934e089 \ mscorlib.dll' 'ConsoleApplication1.vshost.exe' (managed): loaded 'C: \ Windows \ assembly \ GAC_MSIL \ Microsoft.VisualStudio .HostingProcess .Utilities \ 9.0.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.HostingProcess.Utilities.dll '' ConsoleApplication1.vshost.exe '(managed): loaded' C: \ 2.0 \ Windows \ assembly \ GAC_MSIL \ System.Windows.Forms. 0.0__b77a5c561934e089 \ System.Windows.Forms.dll '' ConsoleApplication1.vshost.exe '(Managed): Loaded' C: \ Windows \ Assembly \ GAC_MSIL \ System \ 2.0.0.0__b77a5c561934e089 \ System.dll '' ConsoleApplication1.vshost.exe '(Managed): Loaded' C: \ Windows \ Assembly \ GAC_MSIL \ System.Drawing \ 2.0.0.0__b03f5f7f11d50a3a \ System.Drawing.dll '' ConsoleApplication1.vshost.exe '(Managed): Loaded' C: \ Windows \ asse mbly \ GAC_MSIL \ Microsoft.VisualStudio.HostingProcess.Utilities.Sync \ 9.0.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll '' ConsoleApplication1.vshost.exe '(managed): loaded' C: \ Windows \ assembly \ GAC_MSIL \ Microsoft.VisualStudio.Debugger.Runtime \ 9.0.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.Debugger.Runtime.dll '' ConsoleApplication1.vshost.exe '(Probe SFTP Dropbox Account): load C: \ Users \ skylight \ Documents \ Visual Studio 2008 \ Projects \ ConsoleApplication1 \ ConsoleApplication1 \ bin \ debug \ ConsoleApplication1.vshost.exe '' ConsoleApplication1.vshost.exe '(Managed): \ Windows \ assembly \ GAC_MSIL \ System.Core \ 3.5.0.0__b77a5c561934e089 \ System: 'C LoadedCore.dll' 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C: \ Windows \ Assembly \ GAC_MSIL \ System.Xml.Linq \ 3.5.0.0__b77a5c561934e089 \ System.Xml.Linq.dll '' ConsoleApplication1.vshost .exe '(managed): loaded' C: \ Windows \ assembly \ GAC_MSIL \ System.Data.DataSetExtensions \ 3.5.0.0__b77a5c561934e089 \ System.Data. DataSetE xtensions.dll '' ConsoleApplication1.vshost.exe '(Managed): Loaded' : \ Windows \ Assembly \ GAC_32 \ System.Data \ 2.0.0.0__b77a5c561934e089 \ System.Data.dll '' ConsoleApplication1.vshost.exe '(Managed): Loaded' C: \ Windows \ Assembly \ GAC_MSIL \ System.Xml \ 2.0.0.0__b77a5c561934e089 \ System.Xml.dll 'thread 0x10c8 code 0 (exited with 0x0). Thread 0x924 has been removed from 0 (0x0) code 'ConsoleApplication1.vshost.exe' (Managed): Loaded 'C: \ \ Users \ skylight \ Documents \ Visual Studio 2008 projects \ ConsoleApplication1 \ ConsoleApplication1 \ bin \ debug \ ConsoleApplication1. Exe ', load the symbol. The thread has been removed from 0x954 code 0 (0x0). The thread has gone from 0xd84 code 0 (0x0). Program '[3660] ConsoleApplication1.vshost.exe: Managed' code has exited with 0 (0x0)
- You started with a breakpoint set or [F11] (step by step)
- Build in debug mode
Comments
Post a Comment