Dolphin, the GameCube and Wii emulator - Forums

Full Version: [Feature Request] Network Breakpoints
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

zurgeg

As a developer at WiiLink24 (revival service for Wii no Ma, Demae Channel, other japan exclusive stuff), it would be really helpful if I could set a breakpoint for whenever a network request was sent, and what function sent it.
Can someone implement this?
Thanks.

Sepalani

Hi zurgeg,

I don't think such feature will be helpful as you will probably end up in interrupts code and might not have a valid callstack from the debugger view.
Moreover, if the data is encrypted it will be tougher to get the decrypted data rather than identifying the functions used to send/receive it.

You can identify network functions based on IOS IOCTL(V) calls and signature database. RecvFrom and SendTo functions are the ones you might be looking for.
  • Dolphin's database can be used under Symbols > Generate Symbols From > Signature Database.
  • If it's loading RSO modules on the fly, you might give Symbols > Generate Symbols From > RSO Modules a try.
  • Megazig/WiiTools MEGA signature files can be loaded using Symbols > Apply Signature Files.
Keep in mind that using signature databases might result in some false-positives.

Otherwise, you might want to have a look to the Network & Thread views that the debugger provide.
They can be useful on multi-threaded code.