on 27-07-2012 12:43 PM
I want to debug my game on the psvita because on the emulator works perfectly but when I run the game on the vita it closes right after I launch it. Is there any way of debugging it like in the simulator? with breakpoints and all that?
Solved! Go to Solution.
on 27-07-2012 01:46 PM
Tomorrow I will test that, I read somewhere right now it's not possible but did you try run it in debug mode? with a break point in the beggining? if you already did and not worked or hungs means for now we can't.
27-07-2012 01:56 PM - edited 27-07-2012 02:00 PM
@petrix18, When you have the vita connected with the Playstation Mobile studio, building your project and starting the project with the debugger (F5), you have full debugging support like on the Simulator. I just confirmed this with a breakpoint in my application, it even has stack and locals information.
If you are having problems, did you try loading one of the supplied PSM samples instead? Do note that the debugger stops working (even crashes sometimes) if the vita enters standby state. Might be a good idea to set the Stand-by time of your vita in Settings->Power Safe Settings.
Keep in mind that running your project with a debugger on the vita is slow! Starting my project takes about 30 seconds! While without it's about 3 sec!
If you are having problems booting witrh the debugger, set the Vita in PSM Dev mode, confirm the vita is visible on the PSM studio, disconnect the USB cable, and reconnect. Even though the IDE says " PS Vita(xxx) ON", you sometimes need to reconnect the Vita.
Just my experience so far with PSM
on 27-07-2012 01:58 PM
on 28-07-2012 10:52 AM
Debugging has always worked fine for me on Vita, writing to Console or Debug output massively slows down the execution of the app on the Vita though so always remember to test for performance in a Release build.
on 29-07-2012 02:28 AM
Yes I tested all of that today, and like Martin says remember release is faster. Just one question to everyone did all notice that takes a long time to refresh members/local variables values? or it's just me?
30-07-2012 07:34 AM - edited 30-07-2012 07:42 AM
I don't know why, but it does not work for me. I mean, I can run the app in the vita using psm studio but it ignores the breakpoints, I don't know if I have to do anything special like setting the vita into "psm debug mode" like you said, How can I do that?
Thanks for the replys!
Edit: OK I did it... it was so simple I couldn't see it xD I had to select it in the dropdown list...
Thanks to everyone
Website ©2013 Sony Computer Entertainment Europe
All content, game titles, trade names and/or trade dress, trademarks, artwork and associated imagery are trademarks and/or copyright material of their respective owners. All rights reserved. [more info]