Advertising
can you modify my source code and then post it here?because i am a little confused with what you said and when i try it the result is the same
|
I was referring to methods that help you find errors without a debugger.m0skit0 wrote:Of course there are better methods. They are called "debugging", which is almost as important as programming.
Copy and remove the return statement at the end of your main. Add it to the beginning of your while loop. Compile and run the eboot on your psp. Wait a few seconds and press down the home key(on the psp). If that grey "exit game" screen appears, then your code works until that point. Go back to your code and move the return statement down one time. Run your new code. Check to see if the grey screen appears again. If it doesn't, the line above your return statement may be the line that crashes the programme. Otherwise, keep doing this until it stops working. When it stops working, the line above the return statement may be the line that breaks the code. I would have tried to do this myself but, you are including files that aren't on my computer.devshelper wrote:can you modify my source code and then post it here?
because i am a little confused with what you said and when i try it the result is the same
waratte wrote:I was referring to methods that help you find errors without a debugger.
waratte wrote:Copy and remove the return statement at the end of your main. Add it to the beginning of your while loop. Compile and run the eboot on your psp. Wait a few seconds and press down the home key(on the psp). If that grey "exit game" screen appears, then your code works until that point. Go back to your code and move the return statement down one time. Run your new code. Check to see if the grey screen appears again. If it doesn't, the line above your return statement may be the line that crashes the programme. Otherwise, keep doing this until it stops working. When it stops working, the line above the return statement may be the line that breaks the code. I would have tried to do this myself but, you are including files that aren't on my computer.


Of course you can. If you have MinPSPW, it is actually already installed. Look in the PSPSDK directory.devshelper wrote:i am on win7, so i cant setup PSPLINK
None of thosedevshelper wrote:(1.0 , 1.5 or 1.5 no_corrupt)
Users browsing this forum: No registered users and 1 guest
Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita