on 27-07-2012 12:43 PM
Hi.
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?
Thanks ![]()
Solved! Go to Solution.
on 27-07-2012 01:46 PM
Hi:
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.
cheers
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
Hi:
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?
Cheers
on 29-07-2012 02:55 AM
plus don't forget to check enable optimizations on compiler settings ![]()
Cheers,
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
PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.
フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと
PSM DevPortalを一度ログアウトし、再度ログインしてください。


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]
%%http://community.eu.playstation.com/t5/Announcements/Beta-Trial-Information/td-p/11386362
best_shooter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_driver.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_performer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_footballer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_fighter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_creator.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_action_player.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
dev2.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Producer-and-Developer-Ranks/td-p/18407352
trophy.gif%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/The-Community-Awards-FAQ/td-p/18407096
PSlogoSM.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Online-Support-Coordinator-rank/td-p/18414870