generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Debugging stuff in local scripts

Previous Thread :: Next Thread 
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
16 Aug 2012 08:14 PM
I can't seem to get output without creating my own stupid output design.

Anyone found a way to just get errors in a server environment while trying to debug local stuff?
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
16 Aug 2012 08:22 PM
Have you checked your log folder recently?
Report Abuse
ENET is not online. ENET
Joined: 01 Jan 2010
Total Posts: 4820
16 Aug 2012 08:23 PM
Yea log folders show all client side output... I usually delete all my log files, open roblox studio then test my game. This way I don't look through a gazillion log files. And usually the output is in one of the TaskManager logs.
Report Abuse
crazyman32 is online. crazyman32
Joined: 13 Apr 2008
Total Posts: 18027
16 Aug 2012 08:31 PM
log folders show client output?!?!

Holy awesomeness. Why did I not know about this?
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
16 Aug 2012 08:34 PM
Here's what I do:

local success, errorMessage = ypcall(function()

[ code goes here ]

end)

if not success then
Instance.new("Hint", Workspace).Text = errorMessage
end

As to this "logs showing client output thing, since when?
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
16 Aug 2012 08:37 PM
The logs don't show all the output.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
16 Aug 2012 08:42 PM
The last hour of today has looken like:

> Create pseudo print/error statement
> Add a print statement after every single line of my code where problem starts/stops
> Repeat

Then, I went to log files, and I was like

> Fix
Report Abuse
HotThoth is not online. HotThoth
Forum Moderator
Joined: 24 Aug 2010
Total Posts: 1176
16 Aug 2012 08:42 PM
For server-side errors, I made that error console panel. Just get the version ROBLOX has, since that should be working again (although it will give you StringValues for the stack traces until I fix it). It's like the 7th page of ROBLOX's models.

- HotThoth
Report Abuse
crazyman32 is online. crazyman32
Joined: 13 Apr 2008
Total Posts: 18027
16 Aug 2012 08:43 PM
^
Oh yeah, forgot about that. I still have it lurking somewhere in my models
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
16 Aug 2012 08:56 PM
Serverside errors are no problem.

The problem is debugging something that requires 2 players, when the script is local.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
16 Aug 2012 09:08 PM
@Hot

"Re: Debugging stuff in local scripts"
> local scripts

Sorry, but I had to. :|
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image