Re: how can I see the result of the program?



spamtrap@xxxxxxxxxx wrote:
I cannot see the result of ES...
I know "command debug" can reach the goal.
how can use the "command debug"?

"start->run->command" to get a command prompt. Then "debug myprog.com" (or "myprog.exe"... but debug does better with .com). Then typing '?' will give a list of commands. The "most important" one is probably 'q' - quit - so you can get *out* of the damn thing! :) You'll probably want to "trace" through your program with 't'. When you get to an "int 21h", use 'p' to "proceed" past it (or you'll be tracing through the "bowels of dos", which is less helpful than it sounds). 'r' will display (and optionally set) registers. A google for "debug tutorial" will turn up more information.

Hope I understood the question.

Best,
Frank

P.S. A "better" debugger here...

http://members.tripod.com/~ladsoft/grdb.htm

.



Relevant Pages

  • Re: Breakpoint on Operative system
    ... Now I must create a autoxec that send the debug ... command for transfer the operitive syste,m can you send me the loadcepc ... Options -> Enable kernel debugger. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Simple Fup question
    ... If this program file is named scopy, compile it with the command: ... It drops into debug on any errors. ... record key is part-2. ... select out-file assign newfile ...
    (comp.sys.tandem)
  • gnome-settings-daemon crashed twice
    ... To debug your program, run it with the --sync command line ... backtrace from your debugger if you break on the gdk_x_errorfunction.) ...
    (GNOME)
  • Re: IS:: Tricking pl1s production_table
    ... The debug command and the mp_debug command both provide a function ... There are a number of commands available from withing the debugger. ... the internal commands provided by the debugger (and ...
    (comp.sys.stratus)
  • Re: [opensuse] BadAlloc in gtk programs
    ... To debug your program, run it with the --sync command line ... backtrace from your debugger if you break on the gdk_x_errorfunction.) ...
    (SuSE)