Jmac Posted March 22, 2017 Share Posted March 22, 2017 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. Quote Link to comment Share on other sites More sharing options...
LukasPJ Posted March 22, 2017 Share Posted March 22, 2017 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++)? Quote Link to comment Share on other sites More sharing options...
Duion Posted March 22, 2017 Share Posted March 22, 2017 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. Quote Link to comment Share on other sites More sharing options...
Jmac Posted March 23, 2017 Author Share Posted March 23, 2017 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. Quote Link to comment Share on other sites More sharing options...
LukasPJ Posted March 23, 2017 Share Posted March 23, 2017 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.