Back | Reverse |

Debug Question... How To..???
Link | by Crystal on 2006-09-11 21:15:37 (edited 2006-10-17 19:58:13)
Wow...thank for the reply...sorry 'cos I seldom online...But I really want to learn computer programming online...There are many great programmer in gendou's site right???

Umm..talking about viruses...I heard about some relation about virus and buffer overflow or what...I'm not sure...overflow also an error right...

Back to debug...If I change the assembly code...The program will also change right...So if I accidentally change some during debug...I will have to reinstall the program right?...

I also sometime receive error like this :
memory address xxxxxxxx cannot be read
I have no idea about it...

Talking about open source...I got Windev C++ from a computer magazine...said that it is a opensource C++ IDE...But I'm not really know how to use it...since I study C++ without C and still studying...

Re: Debug Question... How To..???
Link | by czetsuya on 2006-09-11 22:04:58 (edited 2006-09-11 22:06:10)
"DEBUG"? Better ask yourself again :-). Before you can do that you must understand assembly language for example the usual today the 8086. It's something like this: (addition)
move ax, 9
move bx, 10
add bx, ax

//bx now contains 19

something like that... and it's really a pain. Specially when you'r program gets complex... However, because it's low level you have great control over the machine than the higher level languages so you can do almost all you want...:-) That's why many virus are made from these. If you want to debug you can try HVIEW and Win32DASM.

http://czetsuya-travel.blogspot.com

Re: Debug Question... How To..???
Link | by gendou on 2006-09-11 22:51:20 (edited 2006-09-11 22:55:05)
what language are you using?
i personally like gdb for C/C++.
i have never used Visual Studio, and i never will.
however, it may have good exception handling and break point systems.

czetsuya doesn't know what he's talking about. nobody programs viruses in assembly. nobody programs ANYTHING in assembly unless its some kind of DSP work. well, with the exception of homework of course :P


Re: Debug Question... How To..???
Link | by NagisaFudo on 2006-09-12 17:52:31
yup, agreed. gdb on linux is probably the most appropriate tool for debugging. It's more difficult in Visual Studio cuz you need to do it 'manually'. kinda forgot how to do it in Visual Studio since i last used it 2 years ago before moving to linux, but i remember stepping through my code manually to find the bug whenever it hangs or terminates. Not sure if there's a better way tho.

Re: Debug Question... How To..???
Link | by »»Ran on 2006-09-15 02:10:23
I use notepad and save it as .asm. The I'll create the program using TASM.

Come to think of it, They used Assembly Language to create Windows 95 with the help of C++.

Back | Reverse |

Copyright 2000-2024 Gendou | Terms of Use | Page loaded in 0.0024 seconds at 2024-12-28 06:51:57