[Bug 16070] New: VC6 debugging not working

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 15 06:58:12 CST 2008


           Summary: VC6 debugging not working
           Product: Wine
           Version: 1.0.1
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: kresander at yahoo.com

I have used Wine to compile and run fairly large programs (each more than 75
source files and 2GB, 5GB of source code). Background is available in my post
at Wine User's forum under title Cannot install Visual C++ version 6.0 (VC6).
My last reply in the thread is this:

+++ begin +++
So far, I have tried four projects from Windows to Linux/Wine. All compiled
using VC6 on Wine and ran ok the first time. The two largest contained 78 and
105 cpp files with approximate source file sizes 2GB and 5GB.

Features used:

GUI: most standard and extended controls via dialog calls/macros
and CreateWindow, various window positioning/resizing functions,
GDI: most except paths
CHARS: most functions defined by <tchar.h>
FILES: fopen,fread, fwrite, ftell, fseek, fclose, _findfirst,
_findnext, _mkdir, remove, _tunlink
MEMORY new,delete and most memory and <string.h> functions.

Did not use MFC or ATL frameworks, just plain, Windows API functions
and as few of these as I could manage.
Did not use Windows file and directory functions.
Did not use c++ exception handling
Did not use Windows memory allocation function or older mallocs.


could not get the debugging to work.

1. on entry to the Windows main program:

int PASCAL WinMain( ...)
MSG msg;
int a = 1; // for testing debug
int b = a + 1 ; // testing debug
hmodule = fhInstance ; <<< put breakpoint here

Values of variables a and b were reported as unknown expressions.

2. a little bit further into WinMain at call to CreateWindow for
main window:

hwndmain = CreateWindow( "GenericAppClass", ....

The program entered CreateWindow, but never returned.

Does debugging work, or have I entered unchartered waters?

+++ end +++

I don't write bigger and more resource-demanding programs than those mentioned
above. The VC6 compiled these with ease, ran without a single glitch and the
IDE behaved as I was used to see it. With debugging working there is no reason
for me to be on Windows any more. Have wanted to leave for years. 

VC6 is an excellent product (too good to be Microsoft) and it now seems it can
offer cross-development on Linux. Really worth pursuing in my view. 

You can reach me at kresander at yahoo.com.

Best regards
Ken Resander

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list