Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to receive input characters when using tasm

weidongbaiweidongbai Member Posts: 1
Sorry for my stupid question. but I have tried many times. I can receive the input characters if I run the program directly, but I can't receive characters from the key if I use tasm to debug the program, 'cause alt+f5 send me to the dos prompt, but pressing any key just bring me back to tasm from dos,it seems that the pressed key not transferred to my program by tasm.
So, could you please tell me the correct method to debug such program, thank you very much

Comments

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    : Sorry for my stupid question. but I have tried many times. I can
    : receive the input characters if I run the program directly, but I
    : can't receive characters from the key if I use tasm to debug the
    : program, 'cause alt+f5 send me to the dos prompt, but pressing any
    : key just bring me back to tasm from dos,it seems that the pressed
    : key not transferred to my program by tasm.
    : So, could you please tell me the correct method to debug such
    : program, thank you very much
    :
    [color=Blue]My advice is to not debug the code step by step, but simply put a breakpoint AFTER the fact that you got the symbol. If you show me the code where you receive a symbol - I may point out the correct line for a breakpoint. Then let program run and as soon as you press the key it should stop.[/color]
Sign In or Register to comment.