Homebrew sysmodule debugging

  • Thread starter Thread starter SegFault42
  • Start date Start date
  • Views Views 2,190
  • Replies Replies 3
  • Likes Likes 1

SegFault42

Active Member
Newcomer
Joined
Sep 29, 2016
Messages
28
Reaction score
68
Trophies
0
Age
36
Location
France
XP
326
Country
France
Hi devs !

I'm writing my first sys module and i'm looking for a way to monitor my sysmodule.

I've started with the template on the switch-example repo.
When I try to write on the file system, nothing happens. I also started a server on my computer with "nc" and tried to send a get request from the sysmodule but I don't receive the request.
How I can know if it is running ?
Any way to redirect stderr and stdout with nxlinkStdio ?

I already wrote many homebrews on the 3ds and the switch so i'm not a beginner.

Thx
 
  • Like
Reactions: Oxynux
Writing to the file system should be pretty straightforward. Have you got the boot2 flag in place to make sure it's loaded on startup?
 
Yes that's my directory tree when the compilation is done :
out └── atmosphere └── contents └── 4200000000004242 ├── exefs.nsp └── flags └── boot2.flag 4 directories, 2 files
 

Site & Scene News

Popular threads in this forum