Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Santman
14
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 28th Sep 2011 03:07
Hey. Forgive me for pointing out something which may have been mentioned over and over already, bug I think there's a bug in the editor. Whenever it's compiling, or if it exits back out with an error messgae, it references a line number - this seems to work fine until the error occurs within a procedure, then it gets knocked further and further out. I code using lots of procedures that can be called at any point, and this makes it very difficult after a new section of code to see which line is actually returning the error.

Anyone else getting this? I else use "rem" statements alot - does that affect it?
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 28th Sep 2011 04:10
I'm such a slow coder, that by the time I get an error I know which lines I just added lol!

CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 28th Sep 2011 08:13
I'm fairly certain that the STYX plugin has some fairly tasty error tracking. Haven't tried it myself yet...

I have to agree though, the editor has some pretty nasty problems. Most of the ones I find are with auto-completion of blocks and nests, block commenting/uncommenting, etc.

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame
miso
16
Years of Service
User Offline
Joined: 16th Jun 2010
Location: Budapest, Hungary, 127.0.0.1
Posted: 28th Sep 2011 08:45
Im sure, you use multiple source files besides the main. I think, thats the reason. (before compile, those sources merged somehow into one. If error occours, it will refer to a line in that merged code)

No place like 127.0.0.1 .
Quel
17
Years of Service
User Offline
Joined: 13th Mar 2009
Location:
Posted: 28th Sep 2011 12:43
What if it would freaking refer to a line through the faulty line's respective source file?! That doesn't sound diffcult to do...

..God damn coding became a nightmare with the buggy line number feedback i have been getting since the day i split up my main code into separate ones.

-In.Dev.X: A unique heavy story based shoot'em ~35%
-CoreFleet: An underground commander unit based RTS ~15%
-TailsVSEggman: An Sonic themed RTS under development for idea presentation to Sega ~15%
Stab in the Dark software
Valued Member
23
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 28th Sep 2011 15:50 Edited at: 28th Sep 2011 15:52
You could try our new IDE which reports the name of the separate dba file and the correct line number in it. Just double click the error message and it will open the file and highlight the line. This was a must have feature when we created, Stab In The Dark Editor.

We also give you the line number in full source dump which is the file that goes to the compiler. The full source dump file is put in your project folder so you can also refer to it if you want too.

Here is the WIP thread
http://forum.thegamecreators.com/?m=forum_view&t=188786&b=8

Click Banner to Download[img]

[/img]


WindowsXP SP3,Vista,Windows 7 SP1, DBpro v7.7RC7
Stab In The Dark Editor
The coffee is lovely dark and deep,and I have code to write before I sleep.
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 28th Sep 2011 16:12
I can vouch for that! Stab In The Dark's stuff is great to use!

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame
revenant chaos
DBPro Master
19
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 28th Sep 2011 21:32
When you hit a compiler error, go to your projects directory and make a copy of the _Temp.dbsource (the copy would be auto-renamed to "Copy of _Temp.dbsource"). then setup a .dbpro file which points to the copy (as being the projects main source file) and use that for finding an exact line number.
I know it isn't as nice as if the IDE could report the proper line, but at least it works.
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 30th Sep 2011 03:06
You can also write down the line number that is reported, and go to Edit->Advanced->Go To Project Line and type it in, and it will jump to the right spot

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame

Login to post a reply

Server time is: 2026-07-10 16:57:53
Your offset time is: 2026-07-10 16:57:53