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

Problem debugging dos code #2

Closed
slo opened this issue Jul 27, 2017 · 4 comments
Closed

Problem debugging dos code #2

slo opened this issue Jul 27, 2017 · 4 comments

Comments

@slo
Copy link

slo commented Jul 27, 2017

Hi,
My instance of visual MASM produces following output (for dos 16bit exe)when I try to debug code:
Assembling G:\masm32\projs\
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.

"G:\masm32\bin\ml.exe /Zi /Zd /Zf" /c /Fo"G:\masm32\projs\Debug\Assembly1.obj" G:\masm32\projs\ASSEMB~1.ASM
MASM : warning A4018: invalid command-line option : /Z /c /FoG:\masm32\projs\Debug\
MASM : warning A4018: invalid command-line option : /Z/c /FoG:\masm32\projs\Debug\
MASM : warning A4018: invalid command-line option : /Zc /FoG:\masm32\projs\Debug\
and so on.

Problem seems to lie on " character after /Zf

From my investigation this is due to line from uDM.pas[2340]:
ptDos16EXE: cmdLine := ' "'+FVisualMASMOptions.ML32.FoundFileName+debugOption+'" /c /Fo'+pf.OutputFile+ ' '+ExtractShortPathName(pf.FileName);
Maybe debugOption should be excluded from double quotes ?

@ThomasJaeger
Copy link
Owner

Thanks a lot for pointing this out. I will fix this as soon as I can. Thanks again for your feedback. I appreciate it.

@ThomasJaeger
Copy link
Owner

I fixed it. Please try the latest version. Let me know if you still have any issues, please.

@slo
Copy link
Author

slo commented Jul 31, 2017

Now, it works :)
Executable runs under Dosbox.
Thanks!

@ThomasJaeger
Copy link
Owner

Great, glad it's working now.

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

No branches or pull requests

2 participants