The MASM Forum

Projects => MasmBasic & the RichMasm IDE => Topic started by: HSE on July 30, 2019, 09:05:16 AM

Title: Little problem with debug
Post by: HSE on July 30, 2019, 09:05:16 AM
There is a little problem with debug options:

I changed assembler option to AsmC28, but debug and symbols options still expects UAsm64.

Thanks in advance.
Title: Re: Little problem with debug
Post by: jj2007 on July 30, 2019, 09:09:46 AM
So you used the short version: OPT_Symbols 1
That one expects indeed UAsm64 and sets the commandline for assembler and linker. Delete it and use the long version instead:
OPT_Assembler AsmC28
OPT_DebugA /Zi /Zf
OPT_DebugL /debug


Let me know if it works, please.
Title: Re: Little problem with debug
Post by: HSE on July 30, 2019, 09:14:45 AM
Perfect  :thumbsup:

Thanks.
Title: Re: Little problem with debug
Post by: jj2007 on July 30, 2019, 11:27:40 AM
See also Detecting and debugging heap corruption (http://masm32.com/board/index.php?topic=5314.msg67040#msg67040), plus the deb macro (http://www.jj2007.eu/MasmBasicQuickReference.htm#Mb1019). They can be used together.