psxdev / debugnet

debugnet a psp2 library to debug your homebrew code over udp protocol
35 stars 7 forks source link

Sometimes not connecting on app start! #8

Open devingDev opened 7 years ago

devingDev commented 7 years ago

Sometimes I have to restart my app to get any debug.

It happens when this output is missing when starting the app: debugnet initialized Copyright (C) 2010,2015 Antonio Jose Ramos Marquez aka bigboss @psxdev This Program is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ready to have a lot of fun...

Then I know I have to restart the app in order to get any messages to my pc.

I dont know why this happens.

psxdev commented 7 years ago

check value returned in debugnetInit, it should be 1 if not initialization was wrong. You can review initialization code in library dconfig->debugnet_initialized is set to 1 if all is fine and returned.

aloofbynature commented 4 years ago

I'm having a very similar problem. When I open the app I get a black screen for 1-2 seconds before the app crashes to the home screen. This is happening every time, I can't get anything to print. Could I be using the wrong ip address? (could someone explain where to find it). Also I am using ubuntu20 distro on Windows 10 through WSL. I'm trying to use socat as you described but not sure if I'm using it correctly socat udp-listen:3000 stdout.

I'm just starting out trying to code homebrew for the vita and this debug utility would be a life saver so any help to get it up and running would be much appreciated, thanks!