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.

DarkBASIC Professional Discussion / Detecting code errors

Author
Message
Cescano
11
Years of Service
User Offline
Joined: 4th Sep 2014
Location: Italy
Posted: 25th Feb 2015 04:51
When splitting the project into more files, the codeline error printed by the system can't be detected anymore because each new file starts to count the lines from 0.

For example, i have a project of 10k lines, splitted in 3 files, the 1st one 3k lines, the 2nd one 2k lines, and the 3rd one 5k lines.
Now, if the system detect an error saying for example "music does not exist at line 7899", I have no way to check that line, unless i count every file lines and step by step reaching the error line.

Isn't there a faster way to do this? for example saying the editor to don't restart the count from 0 for each file?
FDC002
11
Years of Service
User Offline
Joined: 24th Feb 2015
Location:
Posted: 25th Feb 2015 05:28
"Edit>Advanced>Go to project line" on synergy editor IDE

now it's your turn to answer my post just kidding

I don't know if there is the same thing for other IDE
cu
Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 25th Feb 2015 07:00
when the project is compiled, you can still view the code all in a single file which will give you the correct line that the error is reporting.

in your DBpro install directory, there is a TEMP folder inside that is a FullSourceDump.dba file which has all of your project files combined.

Cescano
11
Years of Service
User Offline
Joined: 4th Sep 2014
Location: Italy
Posted: 25th Feb 2015 08:24
thank you!

Login to post a reply

Server time is: 2026-07-11 18:26:49
Your offset time is: 2026-07-11 18:26:49