Can I debug my application/kernel with a USB blaster

Can I debug my application with a USB Blaster II and DS5? How? Is there any example like “hallo world”?
Can I debug a kernel with a USB Blaster II and DS5? How? Is there any example like “hallo world” and console peripheral?

application: not use USB blaster, can use DS5 GDB debug via Ethernet
You can find at ug_soc_eds.pdf

Well I want to do it so as it is described in ug_soc_eds.pdf (see my issue What shall I set for enc28j60 on Altera C5 for spi). But this is not yet working, so I am looking for a workaround until the issue will be solved.