Anwendung startet nicht mehr + Debug Hilfe



  • Hallo,
    ich benutze Visual C++ 6 und weiß leider nicht richtig den Debugger zu bedienen. So fällt es mir schwer hier den Fehler im Program zu finden.
    Direkt nach dem Compilieren bekomme ich beim start der Anwendung einen Prompt der mir folgendes besagt:
    "ssa.exe hat ein Problem festgestellt und muss beendet werden." <- ssa.exe ist dabei die Andwendung.

    Klicke ich nun "Debug" an, so bekomme den folgenden Prompt:

    Die Anweisung "0x00401e8b" verweist auf Speicher in "0xcd83f97b". Der vorgang "written" konnte nicht auf dem Speicher durchgeführt werden.

    Klicken Sie auf ok....

    Folgendes findet sich dann im Debugger log wieder:

    Loaded symbols for 'C:\Dokumente und Einstellungen\sW00p\Eigene Dateien\Schulzeugs\Projektarbeit\ssa\Debug\ssa.exe'
    Loaded 'C:\WINDOWS\system32\ntdll.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\comdlg32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\shell32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\winspool.drv', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\oledlg.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\olepro32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\oleaut32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.
    Loaded 'C:\WINDOWS\system32\apphelp.dll', no matching symbolic information found.
    The thread 0xEB4 has exited with code 0 (0x0).
    The thread 0xD34 has exited with code -1073741819 (0xC0000005).
    The program 'C:\Dokumente und Einstellungen\sW00p\Eigene Dateien\Schulzeugs\Projektarbeit\ssa\Debug\ssa.exe' has exited with code -1073741819 (0xC0000005).

    wie finde ich nun den Fehler warum die Anwendgun nicht mehr startet?

    greetz

    /EDIT/

    http://www.codeguru.com/forum/showthread.php?t=372609

    hat geholfen, wenn jemadn den fehler mal haben sollte..
    assertion failure war der grund...



  • Für die Zukunft könntest du bei solchen Problemen auch einfach Haltepunkte an den Codestellen setzen und sie Schritt für Schritt bis zum Fehler "durchsteppen".


Anmelden zum Antworten