masm-tasm icon indicating copy to clipboard operation
masm-tasm copied to clipboard

How to view the console output in the debug window?

Open f-zl opened this issue 3 years ago • 4 comments

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!

f-zl avatar Sep 12 '21 05:09 f-zl

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

xsro avatar Sep 12 '21 07:09 xsro

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.

f-zl avatar Sep 15 '21 04:09 f-zl

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'.

x402 avatar Nov 26 '21 17:11 x402

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?

moa234 avatar Nov 28 '22 07:11 moa234