I have connected my Boss GT10 to my computer via usb.

Sonar 8 records whatever I play but i cant hear what i play in realtime, nor can i hear what i play after recording.

With Audacity, I cant hear what I play in realtime, but i can hear my sound after recording.