Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

Theme Catchup2018 - posted on 1st May 2018 at 1:50 PM
Replies: 3 (Who?), Viewed: 1233 times.
Test Subject
Original Poster
#1 Old 9th Feb 2018 at 6:53 PM
Default Sims 4 debugging?
Hi there!

Is it possible to do live debugging?
Like change code and see results instantly by reloading a mod perhaps?

Tnx!
Advertisement
Theorist
#2 Old 9th Feb 2018 at 11:42 PM
There's no real way to do "live" debugging, like interactive, but you can do some in-game debugging. Mostly you can use the inspect module on the Python objects and look to see what variables are set to. You can use the injector to tack on to a Python method in the game to log various values from within.

You may find D3OI and the Inspector to be useful tools for making this kind of thing easier.

I'm working on a new project called SLOB (Sims Live Object Browser) which will also help a lot if I ever finish it (still a long way from complete I think).
Test Subject
Original Poster
#3 Old 10th Feb 2018 at 10:34 AM
Quote:
Originally Posted by scumbumbo
There's no real way to do "live" debugging, like interactive, but you can do some in-game debugging. Mostly you can use the inspect module on the Python objects and look to see what variables are set to. You can use the injector to tack on to a Python method in the game to log various values from within.

You may find D3OI and the Inspector to be useful tools for making this kind of thing easier.

I'm working on a new project called SLOB (Sims Live Object Browser) which will also help a lot if I ever finish it (still a long way from complete I think).


Cool, these tools will surely help me when I get more experienced
Are you somewhere else active? Like on Discord or something?
Theorist
#4 Old 10th Feb 2018 at 9:59 PM
Quote:
Originally Posted by Bananensap
Cool, these tools will surely help me when I get more experienced
Are you somewhere else active? Like on Discord or something?

I'm occasionally on Deaderpool's Discord channel. I check in here more frequently, though.
Back to top