Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Borland C++ 4.5.2 crashes when starting exe file from IDE #906

Closed
LegacyFreak opened this issue Mar 22, 2021 · 4 comments · Fixed by #914
Closed

Borland C++ 4.5.2 crashes when starting exe file from IDE #906

LegacyFreak opened this issue Mar 22, 2021 · 4 comments · Fixed by #914

Comments

@LegacyFreak
Copy link

Hello,
thanks for fixing issue #900. Linking now works in Borland C++ 4.5.2.
Now I get another problem. When I start a compiled exe file, I get the following error (see screenshot and trace).
This only happens in win16 projects. Win32 files start without a problem.
I am also able to run the win16 exe outside the IDE under otvdm.

Screenshot
trace.zip

@cracyc
Copy link
Contributor

cracyc commented Mar 23, 2021

GUI debugging is black magic on win16 due to the cooperative design which is why most win16 debuggers ran in text mode (tdw,codeview,softice). The microsoft ide for msvc and quickc both also fail, only watcom wdw currently works.

@LegacyFreak
Copy link
Author

Hello,
thanks for your reply, but the crash also happens when I start the program inside the IDE without debuggung.

@LegacyFreak
Copy link
Author

Hello,
thanks for the patch, but now there is another error message in the same situation (see screenshot an trace).

Screenshot
trace.zip

@cracyc
Copy link
Contributor

cracyc commented Mar 27, 2021

The debugger assumes that the entry to loadlibrary and cvwdebug contains "push bp; mov bp,sp; push " at the start and winevdm doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants