how to debug a project on device

hi, i have just ported a game for blackberry playbook.
i am able to test the game properly on the simulator .

but when i want to debug it on the device, i dont know how to do it.
the breakpoints doesnt work when i run it on the device.

can anyone tell me how it is done.

Do you start it with the debug button in eclipse or do you have any error messages?

Jack Arlington wrote:

Do you start it with the debug button in eclipse or do you have any error messages?

i am using visual studio 2008 i.e vc++.