Breakpoints have now been patented 412
An anonymous reader noted that apparently Breakpoints have now been patented. From the link "A method for debugging including the steps of receiving code having a software breakpoint function therein, running the code for the purpose of debugging, monitoring the code to detect the presence of the software breakpoint function, recognizing the software breakpoint function, determining an action to be performed based on the software breakpoint function, and implementing the action. The present invention also includes an apparatus for implementing the method for debugging and a medium embodying a program of instructions for execution by a device to perform the method for debugging."
USPTO Link (Score:5, Informative)
Got there from a search at their site...
Prior Art (Score:3, Informative)
Seriously America needs to put a stop to software patents, it's damaging your software industry as Knuth puts very well in his letter to the PTO here [mit.edu]
How Patents Work (Score:3, Informative)
Before y'all get real excited about insane patents:
1) This is a patent application, NOT a granted patent. Hence the serial number beginning 2003 - this means the application was submitted in 2003. It should have been processed now. I'll take a look if I get a spare moment.
2) This is a snippet from the patent abstract, I'd say. It doesn't mean much at all - abstracts are pretty irrelevant to the content of a patent. We have no idea what they are actually patenting from this: it could be an entirely new mechanism for doing this, new code, a genetically engineered cow with the capability of implementing breakpoints.
The abstract means NOTHING - it's often not supposed to. Don't have a cow, guys.
hardware debugger (Score:5, Informative)
while hardware ones arent totally new, they arent that common either. gdb is immune from this for example since its software only.
the abstract isnt the patent, the title isnt the patent, the claims are the patent. Readers are encouraged to read the claims and not spread FUD because they can.
don't get yer panties in a wad yet (Score:3, Informative)
Re:I think this is a bit different (Score:5, Informative)
The patented breakpoint function catches interrupts and handles them in a specific way, irrespective of whether a debugger is running or not, and also issues CPU-indepedent halt codes, marking an improvement over existing techniques.
Karma whoring, you say? I just have a fascination for patents.Re:How Patents Work (Score:4, Informative)
The enforcability of this patent, however, is left to the discretion of the patent owner.
Re:I think this is a bit different (Score:3, Informative)
I actually slogged through the entire patent, and to my (unprofessional) eye it certainly looks like they have patented ALL methods of software breakpoints which use a "specially named void function" which is inserted at a specific place in the code by a compiler or linker. That is essentially the definition of a software breakpoint, so they basically have patented the concept of a software breakpoint in general.
Of course, we have to figure out what "specially named void function" means. If it means the function returns void, I guess we could just return an int instead to get around the patent ;-)
Re:I just patented CODE WITHOUT COMMENTS (Score:3, Informative)
Yes, the compiler will happily optimize it away, however, when you are adding another allocation you don't have to remember to add the deallocation code you left out before. You may well comment it if the compiler doesn't like it but only if you licensed the comments patent :)
Your missing something (Score:3, Informative)
Not a patent (Score:2, Informative)
Re:Prior subject (Score:2, Informative)
But sorry, continue on with the FUD!
Re:I think this is a bit different (Score:2, Informative)
The positively ancient PDP-11 had an instruction called BPT (Breakpoint Trap) which allowed debuggers to work.
You then put BPT in your code. This was often enabled via macros and conditionals supplied to the compiler at compile/assemble time. The debugger attached itself to the interupt generated by the BPT instruction and hey presto you have debugging.
I am sure that other Computers had similar instructions.
It is just plain silly for this to be patented. Things like go to make the suppoed lead in all things IT that the USA has just look more like SCO FUD every day.
I'm also very glad that the US Supreme Court has rules that US Patents don't have any legal standing outside the 50 States of the USA.
Re:hardware debugger (Score:3, Informative)
on 8080 based software. Intel hardware debugger. You could
set break points in hardware. It would continually check the
address bus when it saw the address of the breakpoint, it would
interrupt the execution. It had 8 inch floppy disks too.
Re:don't get yer panties in a wad yet (Score:3, Informative)
This sort of breakpoint wasn't even new then, or something novel. In short, the complaints about this sort of patent as simply covering existing practices is valid, and yet another example of how the USPTO is royally screwing up in their understanding of software development practices.
Of course, I very strongly believe that software should never be patented in any form in any situation, but even if you accept the bizzare concept of a software patent it should cover something new and innovative. Certainly not 40 year old concepts. Perhaps even 60 year old concepts, or even something Ada Lovelace came up with in the 19th Century.
I'm certain that Adm. Hooper [wikipedia.org] is spinning in her grave over claims of originality for some of these patents, and in particular this one. It wouldn't surprise me if she implemented this idea into some of the compilers which she wrote back elsewhen.
DDT (Score:3, Informative)
http://en.wikipedia.org/wiki/Dynamic_debugging_te
Re:Prior subject (Score:2, Informative)
I thought the Supreme Court had done away with this sort of nonsense?
Re:Seems somewhat original to me (Score:3, Informative)
In fact, the "software hook" that is referred to here I've also seen a software interrupt added into compiled code that during normal operations would simply have an IRET (interrupt return) op code on the ISR (interrupt service routine). But you could also have an independent debugger also run simutaneously doing all manner of evaluations on the software execution and performance evaluation. Or even evaluate CPU registers and perhaps even variables and other aspects of memory management. "Parameter passing" isn't even unusual even for interrupts.
I will agree that debugging multi-threaded applications can be a near nightmare due to the race conditions and timing issues, it doesn't have to be nearly so big of a deal as this patent seems to indicate.
This patent seems to imply that the tools which a competent software developer commonly uses are relatively unknown. It sounds here like this particular individual re-invented the wheel thinking he/she was very clever for having done something that their computer science professors never talked about when they were in school. This isn't that original, but trying to convince a non-programmer that it isn't may be a little harder.
Instead, this individual should have patented something truly remarkable and non-obvious like assigning the value zero to a memory cell.
Did anyone bother reading the Patent? (Score:3, Informative)
1). Not a patent, but an application for a patent from 2001.
2). This is a specific implementation of a breakpoint function, not breakpoints in general. The idea of this patent is to use an all purpose void function for doing breakpoints instead of a machine dependent instruction as breakpoints are now done.
Patents have been loose (like the one-click patent), but this isn't one of them. Looking at the date on this patent and the way software is now handled, I believe this patent is a bit dated. Sort of like someone patenting a new way to implement the HTTP over a dialup connection without using SLIP or PPP.
The patentapplication was rejected twice... (Score:2, Informative)
constructors (Score:3, Informative)
As sample code leaks since nothing points to the allocated memory, presumably because it is not relevant for the technique being illustrated.
The technique would be useful for a constructor function, returning a pointer to an initialized object. A matching destructor function would then free the memory.
Re:Well? Make a point! (Score:3, Informative)
From the rules I have read, the USPTO appears to pitch themselves in a similar way to the courts. That is, if you dislike the results you can apply for a reexamination. If the judge/jury/etc misbehaves you can get a retrial. However, I doubt you can sue the Dept of Justice for legal costs etc due to needing a retrial.
This question of culpability was raised here http://www.techdirt.com/articles/20051216/0312216. shtml [techdirt.com]
Re:Could someone please patent code comments? (Score:5, Informative)
Re:Could someone please patent code comments? (Score:4, Informative)
The way the description is worded, the debugger is expected to be doing the equivalent of single stepping through the program at a source code level looking for calls to special nop functions. When it detects some such, it can perform some (debugger) user defined operation. Because these are specifically software breakpoints, they are built into the program at compile time and are always present whether or not the program is being debugged.
The patent goes on to claim various methods of describing which void functions should be considered special by the debugger, including a broad all parameterless void functions are special. Any required special debug code is linked from a library and hence, this method of debugging allows one to enable and disable breakpoints dynamically in an read-only image executing directly off a ROM.
I'm a programmer not a lawyer and I've never done embedded programming so I haven't much of a clue whether or not there's prior art, but I am certain that gdb or any debugger that modifies the executable image in any way are not within the claims of this patent.
Re:Could someone please patent code comments? (Score:4, Informative)
No assembly is involved, the method is processor agnostic. No open inline code is involved either as the breakpoints must be detectable by software looking for function calls.
Re:Could someone please patent code comments? (Score:3, Informative)
This fits a pattern of "special nop function, programmer-defined and linked into the executable image and which must be mapped to various actions to be performed". As a literal construal of prior art it works, although I will admit Fortran IV is seldom used in embedded systems any more.
YMMV, please turn off radio before entering carwash as we are not liable for broken antennae.