I'm going to start developing a USB 1.1 device using a PIC microcontroller. I'm going to keep one of the USB ports of my PC connected to a bread board during this process. I don't want to destroy my PC's USB port by a short circuit or connecting \$\pm\$Data lines to each other or a power line accidentally.

How can I protect the USB ports? Does a standard USB port has built-in short circuit protection? Should I connect diodes, resistors, fuses on/through/across some pins?



This is to expand on Leon's suggestion to use a hub.

The USB hubs are not all created equal.  Unofficially, there are several "grades":


Cheap hubs.  These are cost optimized to the point where they don't adhere to the USB spec any more.  Often, the +5V lines of the downstream ports are wired directly to the computer.  No protection switches.  Maybe a polyfuse, if lucky.
edit:  Here's a thread where the O.P. is complaninig that an improperly designed USB hub is back-feeding his PC.
Decent hubs.  The downstream +5V is connected through a switch with over-current protection.  ESD protection is usually present.
Industrial hubs.  There's usually respectable overvoltage protection in the form of TVS and resettable fuses.
Isolated hubs.  There's actual galvanic isolation between upstream port and downstream ports.  Isolation rating tends to be 2kV to 5kV.  Isolated hubs are used when a really high voltage can come from a downstream port (e.g. mains AC, defibrillator, back EMF from a large motor).   Isolated hubs are also used for breaking ground loops in vanilla conditions.


What to use depends on the type of threat you're expecting.  


If you're concerned with shorts between power and data lines, you could use a decent hub.  In the worst case, the hub controller will get sacrificed, but it will save the port on the laptop.
If you're concerned that a voltage higher than +5V can get to the PC, you can fortify the hub with overvoltage protection consisting of TVS & polyfuse.  However, I'm still talking about relatively low voltages on the order of +24V.
If you're concerned with really high voltages, consider isolated hub, gas discharge tubes.  Consider using a computer which you can afford to lose.

