rojo-rbx / run-in-roblox

Run a place, model, or individual script inside Roblox Studio, integrating with command line tools
MIT License
53 stars 22 forks source link

Table prints go unlogged #23

Open Dionysusnu opened 3 years ago

Dionysusnu commented 3 years ago

The new studio output window features that print({ value = 1 }) is visualised, instead of being outputted as table: hex ID. However, run-in-roblox does not detect this at all, acting as if nothing was printed. This also applies to print(Instance.new("TextLabel"))

LPGhatguy commented 3 years ago

Ah, that's rough. Does this happen with the in-game dev console as well?

If you look at the code that run-in-roblox uses to catch logs, you can see that we use LogService. I don't know if there's another way to capture logs that would pick this up. It sounds like a Roblox bug! :(

Dionysusnu commented 3 years ago

The in-game dev console (F9) just prints the old table: hex ID. It's specific behaviour of print in studio. This function exists. Maybe that returns the original output? Although I wouldn't really count on it, but it's worth a shot.

ghost commented 2 years ago

Addressed by Roblox Release Notes for 531. Messages longer than 2048 characters will be truncated in the event handler.