Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

R.I.P. MS-DEBUG 1981 - 2009

CmdrTaco posted more than 5 years ago | from the gone-the-way-of-edlin dept.

Microsoft 240

AlphaZeta writes "After 28 years, MS-DEBUG is finally being phased out in Windows 7. Over the years, people have been using MS-DEBUG for writing code (virus/malware, you name it) and debugging. "

cancel ×

240 comments

Sorry! There are no comments related to the filter you selected.

Article not quite right ... (1, Interesting)

Hmmm2000 (1146723) | more than 5 years ago | (#27880169)

Acutally, the debug command was removed in Windows Vista & Windows Server 2008.

Re:Article not quite right ... (4, Informative)

Masa (74401) | more than 5 years ago | (#27880221)

Acutally, the debug command was removed in Windows Vista & Windows Server 2008.

Really? At least my Vista installation still has it.

Re:Article not quite right ... (1)

just_another_sean (919159) | more than 5 years ago | (#27880249)

Seconded. Just checked a Vista box installed here at the office. It was Vista Ultimate.
Does version make a difference?

Re:Article not quite right ... (3, Informative)

orclevegam (940336) | more than 5 years ago | (#27880337)

Seconded. Just checked a Vista box installed here at the office. It was Vista Ultimate. Does version make a difference?

It's removed from 64 bit copies of Windows, including XP 64 bit.

Re:Article not quite right ... (5, Insightful)

Anonymous Coward | more than 5 years ago | (#27880397)

Seconded. Just checked a Vista box installed here at the office. It was Vista Ultimate.
Does version make a difference?

It's removed from 64 bit copies of Windows, including XP 64 bit.

Removed or they couldn't or wouldn't get it working?

Re:Article not quite right ... (5, Informative)

EvanED (569694) | more than 5 years ago | (#27880435)

Depends, is it still the same old 16-bit exe in the versions of Vista people are reporting it to be present? If so, probably "didn't bother to get it working". Many DOS utilities of that time were written in assembly, so getting it working in 64-bit would have basically consisted of rewriting it.

Re:Article not quite right ... (-1, Redundant)

Anonymous Coward | more than 5 years ago | (#27880743)

lol

Re:Article not quite right ... (4, Interesting)

petermgreen (876956) | more than 5 years ago | (#27880603)

Afaict debug is a 16 bit does tool for creating and debugging 16 bit dos apps. Since 64 bit windows doesn't support dos apps (or 16 bit windows apps for that matter) it wouldn't make much sense to include something that both is one and is a tool for working with them.

P.S. I find it amusing that wine on 64 bit linux can run 16 bit windows apps yet 64 bit windows can't.

Re:Article not quite right ... (4, Informative)

Aranykai (1053846) | more than 5 years ago | (#27880897)

Vista 64 users can always use dosbox.

Re:Article not quite right ... (3, Funny)

Anonymous Coward | more than 5 years ago | (#27880943)

Yes but Wine64 can't really run any 64-bit Windows apps and Wine has trouble with most Win32 apps. Being able to run 16-bit apps under Wine is more of a testament to how far behind it is.

Re:Article not quite right ... (1)

Lord Jester (88423) | more than 5 years ago | (#27881203)

That is because wine is a 32 bit emulated environment on the 64 bit host OS. There is not, AFAIK, a 64 bit version of wine as of yet.

Re:Article not quite right ... (2, Informative)

SCPRedMage (838040) | more than 5 years ago | (#27881323)

Re:Article not quite right ... (2, Interesting)

EvanED (569694) | more than 5 years ago | (#27881239)

P.S. I find it amusing that wine on 64 bit linux can run 16 bit windows apps yet 64 bit windows can't.

Actually, I'd be interested in knowing how this works (assuming it's true). Does Wine do some sort of binary translation? To my knowledge 16-bit instructions aren't available in 64-bit mode, so it can't just be running it natively. Does it do that with all programs, or just 16-bit ones? Anyone know?

Re:Article not quite right ... (4, Funny)

Divebus (860563) | more than 5 years ago | (#27881045)

Shouldn't the headline read "R.I.P. MS-DEBUG 1981 - 2010" or " - 2011"? ( ...do I hear 2012?)

-a 100 (5, Funny)

Anonymous Coward | more than 5 years ago | (#27880259)

-a 100
jmp 100
w
x
?
?
?
quit
end
crap
sit
vi?

Re:-a 100 (3, Informative)

sexconker (1179573) | more than 5 years ago | (#27880321)

Q

Filter error: You can type more than that for your comment.

Re:-a 100 (1)

uberjack (1311219) | more than 5 years ago | (#27881267)

:qw!

Re:Article not quite right ... (0)

Anonymous Coward | more than 5 years ago | (#27880243)

Acutally, the debug command was removed in Windows Vista & Windows Server 2008.

it's still in vista.

Re:Article not quite right ... (1)

joelmax (1445613) | more than 5 years ago | (#27880257)

My vista ultimate install still as it as well

Re:Article not quite right ... (3, Informative)

joelmax (1445613) | more than 5 years ago | (#27880289)

Actually, our server 2008 boxes here at the office have it as well.

Not in my releases. Debug still here. (-1, Troll)

Anonymous Coward | more than 5 years ago | (#27880291)

There were two different buildings where these products were stocked for retail release. My box looks like this [smonson.com] . (picture of cereal number/folder directory for debug/and version).

Re:Article not quite right ... (0)

Anonymous Coward | more than 5 years ago | (#27880339)

Clearly and completely incorrect. Why post?

Oh? (0)

Sybert42 (1309493) | more than 5 years ago | (#27880493)

Are there special versions with debug for Singularity-researchers? Hex helps with science.

Horrible news!!! (0)

Anonymous Coward | more than 5 years ago | (#27880193)

This is horrible news!
I was hoping they'd add 32 and 64 bit support.. haha

It's in Windows Vista Alright (0, Redundant)

AlphaZeta (1356887) | more than 5 years ago | (#27880203)

Not true, the debug command is in Windows Vista (at least the Ultimate version)

Re:It's in Windows Vista Alright (3, Insightful)

Arimus (198136) | more than 5 years ago | (#27880399)

Not true, the debug command is in Windows Vista (at least the Ultimate version)

From the article summary:

After 28 years, MS-DEBUG is finally being phased out in Windows 7.

Vista is not Windows 7 so.... yes we'd expect the debug command in Vista.

Re:It's in Windows Vista Alright (1)

BadERA (107121) | more than 5 years ago | (#27880701)

Way to fail to follow the post's parent. Or were you going for the "Mr. Obvious of the Day" award? Or perhaps "Moot Point Guy of the Month"?

Re:It's in Windows Vista Alright (1)

paroneayea (642895) | more than 5 years ago | (#27880871)

The post's parent appears to be replying to this [slashdot.org] , but for some reason didn't actually reply by by pressing "reply to this" or whatever, as the threading is lost. So I don't think it's an unreasonable comment to make.

Re:It's in Windows Vista Alright (1)

doctormetal (62102) | more than 5 years ago | (#27880977)

ehm, I checked on my netbook running windows 7 RC (32 bit) and the debug command is still there.

Re:It's in Windows Vista Alright (0)

Anonymous Coward | more than 5 years ago | (#27881479)

Right, I forgot release candidates were final retail releases.

/.'ed already? (3, Funny)

just_another_sean (919159) | more than 5 years ago | (#27880219)

Wow, two comments and /.'ed already. Who knew MS-DEBUG had such power to make people want to actually RTFA!

Re:/.'ed already? (4, Funny)

Hadlock (143607) | more than 5 years ago | (#27880503)

Their webserver was built using MS-DEBUG

Re:/.'ed already? (1)

ChaosAddict (816801) | more than 5 years ago | (#27880705)

Who knew MS-DEBUG had such power to make people want to actually RTFA!

I was just trying to figure out what it was used for, and why this is significant.

Number of comments not showing on front page (2, Insightful)

Anonymous Coward | more than 5 years ago | (#27880229)

Is /. broken today?

Re:Number of comments not showing on front page (0)

Anonymous Coward | more than 5 years ago | (#27880305)

It's new and improved.

You mean you don't like it?

Re:Number of comments not showing on front page (0)

Anonymous Coward | more than 5 years ago | (#27881329)

Wait, you're getting a front page? I've been getting an RSS file all day.

But not too worry... (4, Funny)

mikael (484) | more than 5 years ago | (#27880267)

... a new sourceforge project called Open-Debug is being created to replace it.

Re:But not too worry... (2, Funny)

Anonymous Coward | more than 5 years ago | (#27881113)

Isn't Win 7 supposed to ship with XP in a virtual machine? Just grab debug.exe from there.

OMG (4, Funny)

Capt.DrumkenBum (1173011) | more than 5 years ago | (#27880363)

They killed debug.
You bastards!

Re:OMG, but necessary! (0, Troll)

sgt_doom (655561) | more than 5 years ago | (#27880945)

Dood, they had to kill debug -- it was the same bug responsible for flying pigs, or was that swine flew????

War is Peace ..... Poverty is Wealth..... Insolvent banks are healthy banks

Re:OMG (4, Funny)

ISoldat53 (977164) | more than 5 years ago | (#27881289)

What will the Terminator movies use on their background computer screens?

it's a trick (5, Funny)

skeletor935 (790212) | more than 5 years ago | (#27880369)

Everyone confirming or denying the presence of MS-DEBUG on their windows machine, is confirming their use of windows, and getting their precious slashdot ID number increased by 50% and a free copy of Windows 7 because MS is tired of having to keep hosting Windows 98 SP 2 updates for every time you reformat

Re:it's a trick There's a LOT of debugging and (1)

davidsyes (765062) | more than 5 years ago | (#27880501)

Debunking in this story. Unfortunately, none of it will help debug windows... MIght end up de-debugging and de-debunking myths...

Re:it's a trick (-1, Flamebait)

Anonymous Coward | more than 5 years ago | (#27881269)

Everyone confirming or denying the presence of MS-DEBUG on their windows machine, is confirming their use of windows

And everyone admitting to the presence of Linux on their machine is admitting to their continued perpetual state of virginity.

My favourite DEBUG (0)

Anonymous Coward | more than 5 years ago | (#27880377)

@debug nul
e100 48 e6 61 be 3f 01 31 db 8a 1c 80 fb ff 74 f4 81
e110 c3 d0 00 b0 b6 e6 43 31 d2 66 b8 dd 34 12 00 66
e120 f7 f3 e6 42 88 e0 e6 42 46 8a 0c 46 ba da 03 ec
e130 a8 08 74 fb ec a8 08 75 fb fe c9 74 c9 eb f0 00
e140 0c 19 0c 45 0c 19 0c 8d 24 8d 24 67 48 00 0c 19
e150 0c 45 0c 19 0c 67 24 67 24 45 24 36 0c 19 18 00
e160 0c 19 0c 45 0c 19 0c 45 30 67 18 36 24 19 0c 00
e170 30 00 18 67 18 45 18 45 34 00 0c 19 0c 45 0c 19
e180 0c 8d 30 8d 18 67 48 00 0c 19 0c 45 0c 19 0c cf
e190 30 45 18 45 24 36 0c 19 18 00 0c 19 0c 45 0c 19
e1a0 0c 45 30 67 18 36 24 19 0c 00 30 00 18 67 30 45
e1b0 6b ff
g

Re:My favourite DEBUG (1, Informative)

Anonymous Coward | more than 5 years ago | (#27880539)

8-bit rick-rolled!

Re:My favourite DEBUG (1, Informative)

Anonymous Coward | more than 5 years ago | (#27880659)

I made a .com out of that and tried to run it in DOSBox and it just froze. :(

Re:My favourite DEBUG (0)

Anonymous Coward | more than 5 years ago | (#27881487)

Try running it again and putting your head really close to your tower. :)

Debugging the Singularity? (0, Troll)

Sybert42 (1309493) | more than 5 years ago | (#27880425)

How will this affect progress in the Singularity? I just remember doing "d" to get quick hexdumps. But that wasn't Singularity-related.

Sad day (4, Interesting)

Masa (74401) | more than 5 years ago | (#27880441)

So much fond memories...

The Debug.exe was actually my first contact to programming and the first language I learned, was x86 assembler.

It was MS-DOS 2.xx and all my friends played with C64s and coded all kinds of cool things. My parents couldn't afford a C64 but they somehow got an old PC free. Demoscene was a new and hot thing in those days and me and my friend programmed our first demo completely using the Debug.exe. Merging the two code-bases was an interesting task, when all you had was two pieces of binary and some unused memory space for copy 'n' paste. The demo actually was quite cool. Unfortunately I have lost my only copy.

Re:Sad day (0)

Anonymous Coward | more than 5 years ago | (#27880749)

Not too long ago I was given an afternoon with a base install of windows. I used debug to make a genetic seprinski gasket filter. I was asked why I bothered coding in x86 assembly. It's a tragic era we live in, where self-proclaimed programmers don't know or appreciate the joys of assembler.

Re:Sad day (0)

Anonymous Coward | more than 5 years ago | (#27881347)

My parents couldn't afford a C64 but they somehow got an old PC free.

er...when commodore 64's were popular there were no "old" pc's. the first ibm pc went on sale in 1981, and the C64 in 1982. clones did appear fairly quickly, but they were by no means cheap, and certainly cost more than a new c64, so the likelihood of getting one free (unless you mean in the "off the back of a truck" sense) seems dubious.

Re:Sad day (1)

Marcos Eliziario (969923) | more than 5 years ago | (#27881391)

There was an excellent book where I came in contact with MS-DEBUG and which sparked my curiousity to explore assembly programming. DOS Power Tools (It was for version 5, if I can rememeber). Unfortunatelly I don't remember the author.

Re:Sad day (1)

asg1 (1180423) | more than 5 years ago | (#27881553)

The Debug.exe was actually my first contact to programming and the first language I learned, was x86 assembler.

Pfffftttt x86 assembly is for n00bs.... MY first programming language was....

oh hell who am I kidding. I started with C++ and thought THAT was hard. Starting your programming career learning x86 assembly had to have been quite a feat.

No one can read. (-1, Redundant)

Anonymous Coward | more than 5 years ago | (#27880447)

How many comments about how it's still on your Windows machine. It's going to be phased out with WINDOWS 7.

Re:No one can read. (-1, Redundant)

Anonymous Coward | more than 5 years ago | (#27880709)

Apparently YOU can't read. The VERY FIRST COMMENT says that it's already gone in Vista and Server 2008. All the people saying they still have it are replying to that.

Debug (5, Funny)

KingPin27 (1290730) | more than 5 years ago | (#27880453)

Makes me wonder why Microsoft even created it in the first place..... not like THEY used it or anything.

Re:Debug (1)

xenolion (1371363) | more than 5 years ago | (#27880505)

I was waiting for a joke on how Microsoft wants a bail out for debugging.

I used it to write and modify code (3, Interesting)

AaronW (33736) | more than 5 years ago | (#27880471)

Back in the DOS 2.1 days when I got my first computer I didn't have any manuals. I quickly found debug, though, and saw all the strings in command.com. A bit later I actually used it for things like disassembling the boot sector and even writing some tiny programs via machine code since Microsoft's assembler and linker costs a fortune at the time and I was in junior high and beginning high school. I even used it to crack a number of programs via the disassembler command. There was also an improved version of debug I managed to get a hold of called symdeb.

When I got the Borland (RIP) Turbo Assembler and their debugger I stopped using it.

I haven't touched it in many years, especially since I moved away from Windows in the early 1990s, migrating first to OS/2 and later to Linux.

Sad... (5, Funny)

pablomme (1270790) | more than 5 years ago | (#27880561)

I hope Mr. Debug gets over his loss soon.

Re:Sad... (5, Funny)

MrEricSir (398214) | more than 5 years ago | (#27880683)

Speaking of which, I hear Mr. DOS is paying steep bills for his wife's life support.

Re:Sad... (5, Funny)

fuzzyfuzzyfungus (1223518) | more than 5 years ago | (#27880833)

Dr. DOS' services aren't cheap...

Re:Sad... (2, Funny)

Anonymous Coward | more than 5 years ago | (#27881491)

Especially not when you factor in the therapy from Dr Sbaitso.

Re:Sad... (0)

Anonymous Coward | more than 5 years ago | (#27880925)

They've been divorced for years.

Re:Sad... (1)

eln (21727) | more than 5 years ago | (#27880997)

Since she was going by MS-DOS rather than MRS-DOS, their relationship was probably on the rocks anyway.

I heard she left him after she found him in bed with a pre-op tranny by the name of MS-Bob.

Re:Sad... (1)

MrNiceguy_KS (800771) | more than 5 years ago | (#27881545)

Geez, I hope none of my co-workers heard my sudden burst of laughter when I read this. I really don't want to have to explain why I'm laughing at the thought of MS-Bob as a pre-op tranny.

But Visual Studio has its own Debug mode (2, Interesting)

Orion Blastar (457579) | more than 5 years ago | (#27880677)

so we don't need debug.exe anymore.

Anyone remember Borland Turbo Debugger or Microsoft Codeview? I used to use them to debug programs as well in Assembly Language.

Scripts (1, Interesting)

Anonymous Coward | more than 5 years ago | (#27880725)

... still use debug to do certain tasks. Getting rid of it was kind of pointless.

Re:But Visual Studio has its own Debug mode (4, Informative)

UnknowingFool (672806) | more than 5 years ago | (#27880765)

Some of us still code in notepad, you insensitive clod! Now get off my lawn!

first, best use (4, Funny)

sohp (22984) | more than 5 years ago | (#27880693)

Using it to change this string in command.com

"Abort, Retry, Fail?"

to

"Abhor, Retch, Fume!"

Note that it fits in exactly the same number of bytes. That's important.

Re:first, best use (1)

owlstead (636356) | more than 5 years ago | (#27881025)

I've got Vista installed on a laptop. The UAC is sometimes killing me though, I'll switch it off later. But now that you let me remember that question, I can rest assured that it was at least MUCH better than that Abhor,Retch,Fume that seemed to do *exactly* the same no matter which one of the confusing options you took. Even now I don't understand the difference between Abhor and Fume.

And no, I DON'T wanna know (some imbecile is going to explain anyway, but at least I tried).

feh (4, Interesting)

ClintJCL (264898) | more than 5 years ago | (#27880745)

bad move. debug.exe was the only way i could recover a harddrive that had a messed up partition table. No, neither fdisk nor the linux equivalent could fix it, not even with a full low-level format. only debug.exe. It was a damned weird situation. Linux lied and said it was fixed; Fdisk told the truth and said it couldn't fix it. Debug worked tho!!

It's not like it hurts by sitting there on the harddrive, taking up a whopping 28K (or however big it is)....

Re:feh (1)

Anonymous Coward | more than 5 years ago | (#27880837)

Interesting, I never heard of anyone using DeBug like that, how'd you do it?

Re:feh (1)

donatzsky (91033) | more than 5 years ago | (#27880887)

I've had good luck with TestDisk [cgsecurity.org]

Re:feh (4, Informative)

Aranykai (1053846) | more than 5 years ago | (#27881123)

Modern hard disks, as in anything made after 1994, should never be subjected to an LLF. The tracks and sectors are defined at the factory physically and you cannot change them. Now, what I think you mean to say is you 'reinitialized' or wrote zero's over the entire disk. Almost every disk manufacturer makes a utility to do this that you can download from their website. This ignores partitions, so it will fix a corrupted partition table.

Re:feh (4, Informative)

PalmKiller (174161) | more than 5 years ago | (#27881211)

In linux just use dd to write 512 zeros to /dev/hda (or /dev/sda or whatever the base drive is) for example

dd bs=1 count=512 if=/dev/zero of=/dev/hda

That will wipe the boot block clean, then you can use it like a brand new drive.

Or if you want, just zero out the partition table using a seek=466 and a count=64 instead of the count=512

Re:feh (1)

againjj (1132651) | more than 5 years ago | (#27881339)

Mod parent up. This is a trivial way to blast away low level data that is bad, but good enough to fool disk utilities. I figured this one out on my own after fighting with a disk for a while.

Typo (3, Informative)

PalmKiller (174161) | more than 5 years ago | (#27881421)

Oops the seek=466 should have been 446 (or even 448 with a count of 62, either works)...just in case someone really wants to back up a partition table with nothing else.

editing save game files... (0)

Anonymous Coward | more than 5 years ago | (#27880811)

I think I first used msdebug to edit my Wing Commander Privateer file to add the cargo expansion purchased for my Galaxy freighter to the smaller more nible Centurion fighter. Oh and to give it 4 Steltek guns. I remember uploading that save game file to compuserve, it was pretty popular at the time.

Re:editing save game files... (1)

carambola5 (456983) | more than 5 years ago | (#27881043)

All those Simoleans I created with debug.exe...

Wrong, Wrong and Wrong (5, Informative)

Anonymous Coward | more than 5 years ago | (#27880815)

This article is entirely wrong. DEBUG.EXE hasn't been removed from Windows 7. It's just not included in 64-bit editions of Windows. That goes for 64-bit editions of Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008 and Windows 7. This is because the 16-bit emulator is no longer included in the 64-bit versions of Windows due to the fact that the x86-64 CPUs cannot switch to 16-bit mode. So it's not DEBUG.EXE that is gone, it's all of DOS that is gone.

Re:Wrong, Wrong and Wrong (-1, Troll)

Anonymous Coward | more than 5 years ago | (#27880983)

Who cares - Windows is a lamer OS anyway whether they remove this old turd or not.

Re:Wrong, Wrong and Wrong (-1, Troll)

Anonymous Coward | more than 5 years ago | (#27881407)

Windows is a lamer OS anyway whether they remove this old turd or not.

Oh really? And what is better? Linux/UNIX will make you a neck bearded permavirgin. No one wants that. OSX will make you a sack of shit pseudo-hipster like Cory Doctorow. Seriously, what OS do you suggest?

I stick with WinXP. Not because of any technical superiority bullshit but because it can do what I need it to and there are no faggy fanboi associations.

Re:Wrong, Wrong and Wrong (4, Interesting)

mzs (595629) | more than 5 years ago | (#27881357)

"due to the fact that the x86-64 CPUs cannot switch to 16-bit mode."

????

AMD64 CPUs most certainly support real mode. In fact that is how they boot, how else would you expect the VGA bios to execute during boot?

They also support Virtual 8086 mode which you are confusing with 16-bit mode. The issue is that in Long mode (which is all that 64-bit MS OSs supprort) you cannot run in those modes. Instead you either run in 64-bit mode or compatibility mode (32-bit or 16-bit, no extra regs). MS certainly could have provided a way to switch between Long mode and Legacy mode but chose not to. Then when encountering a real mode program it would switch to Legacy mode. These switches are not cheap though, you'd likely have do things like quiesce DMA, and that is why MS decided to ditch it. In fact there was a similar issue with the 80286 and 16-bit protected mode, essentially a soft reset was needed to get back into real mode but that was done back then (with the advent of Windows 3.0) since so many programs would have been unusable otherwise.

Good ole' debug (2, Funny)

Datamonstar (845886) | more than 5 years ago | (#27880843)

I'm such a poser that the only thing I used it for was low-level format of hard drives. But oh, how I'll miss it. I still remember being a phone tech and using the debug script for callers that I didn't like. I'd tell them "Okay, I'm going to tell you some commands and I'm not going to be able to stop so make sure you don't miss anything of else I'm not sure if I'll be able to recover your system ever again." And then I'd proceed to turbo-read the script without stopping. Ah, such fun.

Re:Good ole' debug (1)

greed (112493) | more than 5 years ago | (#27880917)

Oh gods. I remember having to phone a friend at too-late-at-night because I was swapping hard disks between an Amiga and a PC... After getting the PC's old drive nicely partitioned on the Amiga, I needed to set the other one up on the PC....

And I'd forgotten I was going to have to do that from DEBUG.

The horrors... the horrors....

Mind you, I did write a HANG.COM in it to show off the F00F bug. Then realized COPY CON: HANG.COM and ALT+numeric pad worked just as well.

Good memories (0)

Anonymous Coward | more than 5 years ago | (#27880845)

In the prehistoric times of the XT, it was common to manually "park" hard drives before shutting them down. This could be done with special tools, but it was far more convenient to use DEBUG to execute the parking routine in the controller directly. The command was "g=c800:??" where ?? is something I don't remember. You could also access other functions of the controller that way.

Awwww.... (3, Interesting)

feepness (543479) | more than 5 years ago | (#27880987)

This was how I cracked Ultima V. They had a special sector on the floppy(!!) and read code off it, put it in the right place, and then ROT13ed that code.

I traced through until I was past that point, added nops where the read/ROT13 was, and rewrote the exe. I thought I was a genius.

RIP MSDEBUG.

old ESDI drives... (1)

dAzED1 (33635) | more than 5 years ago | (#27881027)

I remember having to use debug to format ESDI drives back in the day. They should keep it around - it's still a power tool. What, do they think there will be fewer people writing viruses if it is gone? As though there aren't alternatives out there?

All the useful tools are going (1)

Ed Avis (5917) | more than 5 years ago | (#27881063)

DEBUG on the way out? Next they'll be trying to remove EDLIN? Where will it stop?

(Bizarrely, the only time I have ever used EDLIN was to administer some dual-boot Linux / Windows NT boxes. I wrote a perl/Expect script that telnetted to each machine running Windows, used EDLIN to change boot.ini, and then ran 'shutdown -r'.)

Debug my friend (1)

atuline (559329) | more than 5 years ago | (#27881067)

I remember purchasing my first IBM PC with DOS 1.0 back in December '81. Debug at the time did not include the 'a' or 'assemble' command, so I hand assembled my first programs via hex. That's bit crunching together the mod, the reg and the r/m bits in order to make an opcode. Well, at least it wasn't a 6502. . .

Already gone... (2, Interesting)

faragon (789704) | more than 5 years ago | (#27881085)

... for XP64 and Vista64.

Here is my last tribute:


C:\Users\faragon>copy con hifolks.com
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz^Z
1 files copied.

C:\Users\faragon>debug hifolks.com
-a 100
187E:0100 jmp 112
187E:0102 db "Hello Slashdot!$"
187E:0112 mov ah,9
187E:0114 push cs
187E:0115 pop ds
187E:0116 mov dx,102
187E:0119 int 21
187E:011B int 20
187E:011D
-w
Writing 00048 bytes
-q

C:\Users\faragon>hifolks.com
Hello Slashdot!
C:\Users\faragon>

Bad move not having it in ROM (1)

osu-neko (2604) | more than 5 years ago | (#27881137)

If it was in your ROM BIOS, they could never take it away from you. Superior computers always made sure it was there in the ROM.

CALL -151

:)

Good for low level formatting. (1)

miffo.swe (547642) | more than 5 years ago | (#27881295)

I think the only time i hasnt used Norton Commander or something else than debug in dos/windows was back in the day when i got my first harddrive for my NCR PC4i. The ST-506 disk was a bit fast for the 8088 CPU so except having to manually replace the bios chip i had to interleave the thing manually too.

Good thing they start cleaning the Dos stuff out of windows finally. I guess 1987 called Microsoft and wanted its software back.

E D24 7F FF (1)

Sowelu (713889) | more than 5 years ago | (#27881355)

Every geek kid growing up in DOS knew how to give way too much money in SimCity using Debug. First time I ever pulled a 'cheat' off a network, either. I think I got that from Prodigy, though it might have been a real BBS.

Re:E D24 7F FF (1)

The Clockwork Troll (655321) | more than 5 years ago | (#27881521)

i had to type porntipsguzzardo, you insensitive clod

Noooooo! (0)

Anonymous Coward | more than 5 years ago | (#27881489)

Not DEBUG!

If this is really true, I guess I'd better get in one last shameless plug [slashdot.org] before it's too late!

Blasted post limits. Posting anonymously, well, because of blasted post limits.

Slashdotted: original article (4, Informative)

againjj (1132651) | more than 5 years ago | (#27881525)

MS-DEBUG 1981 - 2009
May 8, 2009, 11:16 am

Earlier this week (May 5) Microsoft Windows 7 Release Candidate was released to the general public and like many technology enthusiasts I downloaded a copy early in the morning hours on Tuesday, shortly after Microsoft made it available on its website.

The RC build of Windows 7 (build 7100) has many tweaks over the previous beta build I have (build 7000) and I have not yet played with it long enough to come up with any meaningful conclusions. However, this is not the point of this article. As you might have noticed from the title of this article, I was not about to talk about my experience with Windows 7 (maybe I will write about it later). What I noticed the first thing in Windows 7 is that the DEBUG command is nowhere to be found.

I was just old enough to remember the very early days of DEBUG under MS-DOS. In fact, I was fascinated with such a small and yet powerful tool that came with every version of MS-DOS distribution. the DEBUG command was so powerful that you could do almost anything with your machine with sometimes just a few key strokes.

For a long time, I used DEBUG to learn x86 assembly language and to learn about disk (both floppy disks and harddrives) structures and file systems. And occasionally, I would use DEBUG to edit binary files.

I remembered that I could use commands like

-l 100 0 0 1
-d

to load the boot sector from floppy A and inspect whether the boot sector was infected with any virus and if so, I would find a clean floppy disk and using DEBUG to write its boot sector to the disk that was infected.

And routinely, I would use the following commands to inspect the partition table of my harddrive to make sure that it was free from any infections:

mov ax, 0201
mov bx, 1000
mov cx, 0001
mov dx, 0080
int 13
int 3
-g 100
-d 1000

Remember this one?

jmp ffff:0000

I remembered that someone at my high school used to play the pranks by changing the very first few bytes on floppy disks to EA:00:00:FF and placed the disks in computers in the lab so that whenever someone turned on the computer, it would enter an infinite reboot cycle.

And when CIH stroke in the late nineties, my friends and I would use DEBUG to inspect the virus's code to see how the instructions could actually be used to cause real physical damage to the hardware.

After Windows came along, I still used DEBUG often. After all, deep inside Windows (up till Windows ME), there was MS-DOS and for years, user were allowed to operate in real mode if they so inclined to. With the advent of Windows 2000 and then later Windows XP people started to forget about DEBUG since the operating system became true 32bit and the DOS prompt became just an emulator. You could still view files and write assembly code within DEBUG, but it was in a protected environment and everything you do was pretty safe and you couldn't really do anything harmful to the hardware (of course, you could still overwrite sectors in floppy disks if you wanted to).

Ah, those were the good old days. Just like QBasic disappeared from later versions MS-DOS, DEBUG has gradually become obsolete. It remained in Windows Vista, but it is no where to be found in Windows 7. At last, Windows has shed one of its last vintage applications from the MS-DOS era.

Fond memories... (1)

AdamTrace (255409) | more than 5 years ago | (#27881559)

I cracked my first game using "debug" a long time ago... It was "Speedball II, Brutal Deluxe", which remains in the running for Best Video Game Title Ever.

FWIW, I didn't do anything with the crack. It was my own legal copy of the game. I just wanted to see if I could do it. One little NOP, and the whole call to the copy protection subroutine was canceled. Ha!

Loser article (0, Flamebait)

SnarfQuest (469614) | more than 5 years ago | (#27881561)

I'll bet that if you said that PIP was being removed, hundreds of slashdot posters would check to see if it really was still on their system.

I'll also bet that several will check after reading this post.

Load More Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>