Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by sharsnik · Oct 18, 2012 at 12:31 AM · debugstandalone

Debugging the standalone player on an external machine?

Hello, I'm trying to debug my Server built using Unity, but the stack traces aren't giving me line information (which I assume is because the symbols aren't available). What do I need to do to get those line number to display with the stand alone player on an external machine?

Let me explain how I go about building the Server.

1) Build the standalone player using Development Build (running this output shows line numbers correctly).

2) Transfer the Server.exe and Server_Data folders over to an external host.

3) Copy Server.exe and Server_Data to Server2.exe and Server2_Data respectivitly.

4) Run Server2.exe.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
-1

Answer by dreammakersgroupAdmin · Nov 22, 2013 at 04:42 PM

check this tool http://u3d.as/content/dreammakersgroup/in-game-logs/5E8

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Graham-Dunnett ♦♦ · Nov 22, 2013 at 04:44 PM 0
Share

Posting to lots of forum and answers posts is likely to get a hostile reaction from the community. $$anonymous$$ost asset store vendors create a thread on the Forum, and use word of mouth or recommendations to get their asset known. Resurrecting old threads just makes you look desperate.

avatar image dreammakersgroupAdmin · Nov 22, 2013 at 05:41 PM 0
Share

sometimes developers like what i post even on old post

avatar image
0

Answer by Kryptos · Oct 18, 2012 at 08:31 AM

With MonoDevelop, you can attach the debugger to any game through the local network. Make sure that no firewall are blocking the sockets.

The profiler itself can listen to any instance of the game through the local network as well. That's how you profile iOS games for example (using the Wifi connection).

The only requirement is to use a development build and have "Allow script debugging" options enabled. But you already figured that out.

Comment
Add comment · Show 9 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sharsnik · Oct 18, 2012 at 11:25 AM 0
Share

Hello, from what I understand, the debugger is only needed if you want to use breaks, right? All I need is to be able to see the stack traces in Debug.Log().

avatar image Kryptos · Oct 18, 2012 at 11:31 AM 0
Share

In standalone, Debug.Log prints out in a log file. Only in the editor can you see stacktrace and line number.

avatar image sharsnik · Oct 18, 2012 at 11:33 AM 0
Share

Yes, but that log file has line numbers, right? (At least, it does when I run the standalone player on the local machine). That's what I want.

avatar image Kryptos · Oct 18, 2012 at 11:35 AM 0
Share

The log file will also be located on the external machine. SO what are you looking for exactly?

avatar image sharsnik · Oct 18, 2012 at 11:39 AM 0
Share

Sorry, I guess I was unclear. The log file on the external machine doesn't display line numbers in the stack trace.

It looks like this: at FieldScript.onStageCleared () [0x00000] in :0

What I want is to be able to see those line numbers, like I would when looking at the log file on the local machine.

Which looks like this: User:initSQL(UserLoader) (at C:\Users\Sharsnik\Desktop\SideQuest\Assets\src\Common\Engine\User.cs:602)

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can I use Monodevelop bundled with Unity to debug standalone .NET applications? 0 Answers

Texture disappears in standalone (fine in editor)? 1 Answer

Debug Unity DLLs in Windows standalone build 0 Answers

Windows Standalone crashes at start 1 Answer

Console messages from multiple connected players on same machine 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges