dosasm/masm-tasm

How to view the console output in the debug window?

f-zl opened this issue · 4 comments

f-zl commented

Nice tool for learning assembly!
I cannot find where the console output (from INT 21H) is shown in TASM/MASM debug window. How can I check the console output while debugging? Thanks!

xsro commented

It will not show on debug window now. Currently, this extension call dosbox and do nothing else.

Can you describe more in details? I may do this

f-zl commented

It will not show on debug window now. Currently, this extension call dosbox and do nothing else.

Can you describe more in details? I may do this

Then it might be that TASM/MASM's debug tool didn't provide such a function. If you call printf in a debugger like gdb, the message sent to stdout will be shown. I was expecting the same from TASM/MASM.

x402 commented

In TASM's debug you can press ALT+F5 to view the console window, or you can do these steps: press F10-select 'Window'-select 'User screen'.

i think redirecting output to log file causes int 21h not to show text while debugging.
so is there a way to edit debugging not to redirect output to log file?