JEdit / TIDE improvements for TGB, T2D, T3D etc.
by Stefan Beffy Moises · 02/07/2010 (6:56 pm) · 23 comments
Hey there,
today I have updated the TIDE plugins for JEdit to simplify the debugging of any Torque related project.
TIDE is a JEdit plugin suite that adds support for TorqueScript editing, syntax highlighting, project management and remote script debugging and therefore is available for Windows, Mac and Linux.
Before the update, TIDE tried to add various little pieces of code to different parts of the main.cs file, which was doomed to fail for many non-TGE based projects or wíth any engine update and general changes to main.cs... e.g. it didn't work for TGB flavoured games since the main.cs file is quite different to TGE.
Now it works just like Torsion (hope the guys don't mind :)) - it adds one single line of script to the main.cs file when the game is launched from withing JEdit for debugging which is removed at the end of the debugging session (when the game exits). Much cleaner and should work for any current and future Torque engine :) Well, as long as the "dbgSetParameters()" function is available that is :)
I will update the downloads in the next days, stay tuned for updates here!

today I have updated the TIDE plugins for JEdit to simplify the debugging of any Torque related project.
TIDE is a JEdit plugin suite that adds support for TorqueScript editing, syntax highlighting, project management and remote script debugging and therefore is available for Windows, Mac and Linux.
Before the update, TIDE tried to add various little pieces of code to different parts of the main.cs file, which was doomed to fail for many non-TGE based projects or wíth any engine update and general changes to main.cs... e.g. it didn't work for TGB flavoured games since the main.cs file is quite different to TGE.
Now it works just like Torsion (hope the guys don't mind :)) - it adds one single line of script to the main.cs file when the game is launched from withing JEdit for debugging which is removed at the end of the debugging session (when the game exits). Much cleaner and should work for any current and future Torque engine :) Well, as long as the "dbgSetParameters()" function is available that is :)
I will update the downloads in the next days, stay tuned for updates here!

About the author
#22
I only saw this post today. I did set those write permissions, but I still have the same errors.
Here's what I do:
1) In JEdit, I go to Plugins-> Project Viewer -> Show Project Viewer
2) The Project Viewer window shows up and lists all my game tree in folders. When I click on a .cs file it shows in JEdit
3) When I try to set a breakpoint and run the program I get the same java errors posted on my previous post
However , it seems that there are 2 kinds of projects . The previous was a project I did in "New Project here" of Plugins-> Project Viewer -> Show Project Viewer
If I try to go to "Tide"-> New Project a dialog pops up asking for the game executable
When I Select OK, I always get a message of
Error: Please select a valid project root folder
02/19/2010 (12:10 am)
Hi StefanI only saw this post today. I did set those write permissions, but I still have the same errors.
Here's what I do:
1) In JEdit, I go to Plugins-> Project Viewer -> Show Project Viewer
2) The Project Viewer window shows up and lists all my game tree in folders. When I click on a .cs file it shows in JEdit
3) When I try to set a breakpoint and run the program I get the same java errors posted on my previous post
However , it seems that there are 2 kinds of projects . The previous was a project I did in "New Project here" of Plugins-> Project Viewer -> Show Project Viewer
If I try to go to "Tide"-> New Project a dialog pops up asking for the game executable
When I Select OK, I always get a message of
Error: Please select a valid project root folder
#23
standard ProjectViewer projects will not work, you have to create a new TIDE project, see torqueide.sourceforge.net/docs/using.html (at the bottom, in "Additional notes").
Also, are you really selecting a valid game executable when creating a new TIDE project? Are we talking about MAC or Windows now? :) I don't know of any user yet who had problems creating new TIDE projects (only if the old way of patching main.cs failed, but that has been changed with the current version).
02/19/2010 (4:17 am)
Hi Pedro,standard ProjectViewer projects will not work, you have to create a new TIDE project, see torqueide.sourceforge.net/docs/using.html (at the bottom, in "Additional notes").
Also, are you really selecting a valid game executable when creating a new TIDE project? Are we talking about MAC or Windows now? :) I don't know of any user yet who had problems creating new TIDE projects (only if the old way of patching main.cs failed, but that has been changed with the current version).

Associate Stefan Beffy Moises
Could you please try to give write permissions, too, including the folder?
As for setting breakpoints: are you sure that the project belonging to the file in question is selected/opened in the ProjectViewer?