Jump to content

Recommended Posts

Posted

Hi, I'm new to using torque 3d and right now I'm just messing around with the engine. I ran into a problem with some of the changes I made to the engine and wanted to know if there is a way to step into the VS debugger from the world editor, I tried the debug() command but it just causes the whole process to freeze. Any information on debugging in general would be appreciated too, thanks.

Posted

Well, you would need to know where from the world editor you want to enter the VS debugger. You should just be able to put a breakpoint anywhere you feel is relevant.


Is this script (TorqueScript) or engine code (C++)?

Posted

For the most part debugging the scripts with Torsion is enough and if you make serious engine changes you probably know how to use a debugger or should know how to use it.

Posted

What I want to do is step through a console function I added to the engine in VS, so from world editor call the function and then when a break point is hit debug in VS.

Posted
What I want to do is step through a console function I added to the engine in VS, so from world editor call the function and then when a break point is hit debug in VS.

 

You would probably just add a breakpoint through Visual Studio then, it would trigger as soon as you call the function.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...