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.

Program Announcements / Indigo - A DBPro IDE Alternative

Author
Message
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 6th Apr 2013 15:48
Might be helpful to create a temporary benchmarking report; time each procedure and pin point what works slow on the clients.

It runs slow on here too, but I've lived with it because I still save time in the long run by using the IDE itself.

It appears that the code at the end of the project, 10s of thousands of lines down causes the biggest slowdown; but this is not always the case. Something is going on, a benchmark report might give us a clue.

Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Apr 2013 20:44 Edited at: 6th Apr 2013 21:39
Some more issues:
1) When I compile, the "Compiling Executable" window remains open. I can click in the main Indigo window and continue editing but when I click compile again, I can\'t tell if it is compiling because the window is hidden. Consequently, I often find myself trying to compile an already compiling program.
If I manually close the window. Then next time I try to compile, Indigo crashes. I assume that this is just me or everyone would be reporting this. So is it maybe because I store my projects folder on an external drive?

2) After compiling and running, if I make a change to any file and compile again, the changes are not reflected in the newly compiled file unless I hit return during the editing.

3) Pressing the down key to move to the line below also moves one character to the right.

4) It is not possible to change the default Projecs folder path. The browse button can be clicked but does nothing.

5) I can't turn off "Auto Suggest". It simply refuses to uncheck and refuses to disable.

6) I can't turn off "Auto complete after dot". This one does uncheck in the options but still doesn't actually change the way it works.

7) The Indigo logo in the top left sometimes (but not always) stays on top no matter which application currently has focus.


8) If I create a UDT and then an array of that UDT. Typing the array name followed by an open paranthesis causes the first item in the UDT to be written between the array name and the paranthesis.

.

Attachments

Login to view attachments
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 6th Apr 2013 23:29 Edited at: 6th Apr 2013 23:30
Grasmann,

The only time that I am seeing Indigo running slowly is when Logging is on. Could you please verify that it is turned off. I have tested with the FPSC source code that is over 60,000 line in one source file. I have not seen any slowness. At the top, bottom, or middle. Adding or deleting.

And the "trigger" that you describe is largely how Indigo works. Though is always room for improvements. The only real processing for each key would be for highlighting and auto-complete. After downloading the latest version see if you still have the same slowness. If so, make sure that "Auto Suggest After" is set to 0 (zero) and see that makes a difference.


Scraggle,

I am not able to duplicate what you describe happening with the 'View' menu and windows. Everything works as expected and no crashes for me :-(.


Chris Tate,


Quote: "Might be helpful to create a temporary benchmarking report; time each procedure and pin point what works slow on the clients. "
That is what the Logging does. If you are experiencing slowness. Please make sure that logging is turned off. (please refer to my comment to Grasmann )


Scraggle (again ),

What OS are you? I hope not XP. My XP machine died on me last year and I've done not set up a virtual to run XP. As such I've done no testing on XP and most like will not be. Just Vista (for now) and Win 7. I reviewed all of your points on the latest beta version and have indicated the results. If you experience anything different please let me know. If possible let's talk off the forum.

1. the compile window is always on top (programmed that way) weather it's docked or not. I am not able to duplicate the issue.

2. Works as expected without having to press enter.

3. Works as expected with no shifting.

4. Fixed. Was referencing the button in the code.

5. Fixed. Forgot to set a second variable when changing states. Please note: you need to set the value to 0 (zero) to turn off.

6. Fixed. Related to 5.

7. Not able to duplicate.

8. Not able to duplicate.



Version 1.4.0 beta 3 has been uploaded. A few more defects corrected. To include the Ribbon sizing issue mentioned by Chris Tate. As well as the return of the "Routines" drop-down.

Indigo Site

All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 6th Apr 2013 23:46
Quote: "Please make sure that logging is turned off."


I've not test the latest version you just posted; but my logging was always off; it appears this is not quite so because the log file was changed today; however it is only 18 KB in size.

Indigo works fine on XP; I've got XP and Win 7.

Grasmann
15
Years of Service
User Offline
Joined: 1st Sep 2008
Location:
Posted: 7th Apr 2013 14:07 Edited at: 7th Apr 2013 15:04
I deactivated logging now ... as far as I know I never used the log files anyways XD and I changed the suggestion chars and it actually seems to respond a lot better now XD.

But for me the performance still isn't as good as for you.
For example I got a file with 1000 lines ... 85% of the lines are constant declarations.

If I edit the top of the file even with the changed options there is still a noticeable lag XD. And the files you're talking about have 60 times the lines of mine. Or does it take more time to process constants? XD

EDIT: Or does it maybe take longer to update because the file has no functions, subs, ifs and so on? It's just a big file with lots of constant declarations.

However, I'm glad it does react nice and fast with my regular files now .

EDIT: Actually the lag in this file is really really bad XD ... after some edits I currently got a delay of 3 sec from input to reaction. I started putting ifs in to create some breaks between the code XD ... I don't know if this will be helpful at all XD.
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 7th Apr 2013 15:56 Edited at: 7th Apr 2013 16:28
Nice work with the new editor. I had to still had to resize my system fonts to see the arrow below the compile button; but putting the font size back to large now appears to have fixed the issue.

Edit: Then again perhaps that is not really problem solved once I reboot. Will check.

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 17th Apr 2013 02:00 Edited at: 17th Apr 2013 02:21
Not sure why, but sometimes the function info on the status bar goes crazy(0:06):



The cursor is still, no keys pressed or anything.

Also, a lot of the time double clicking in virtual folder file view mode doesn't open the source file your double click. Sometimes you have to double click about 6 times before it registers, even when the mouse is dead still.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 18th Apr 2013 03:39
Howdy Balid,

A problem that has been bugging me more & more lately, I've only discovered it after I started packing media in with my EXE files.

%Default Relative Path% doesn't seem to work in the .DBPro project file when used as the media root path. This becomes a problem when using two computers which have the %Default Relative Path% on a different directories;

My work computer %Default Relative Path%:

C:\Users\MrFancyPants.Domain\Documents\DBPro\

And my Home computer %Default Relative Path%

C:\Users\Burningfeetman\Documents\DBPro\

But in the Project file;

media root path=

This must be hard coded with the above directories to work, as it doesn't seem to work with %Default Relative Path%

This means as projects sync between my computers, I need to constantly update this "media root path=" depending on which computer I'm on.

Hopefully that's an easy fix before the next beta release.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 20th Apr 2013 21:05
Chris Tate,

I've seen that jumping once but have not been able to duplicate it. Looks like may be you have (since you were able to record it).

I have an idea about the double clicking in the virtual folder.


BFM,

Yes, simple enough to fix.


Thank you and all the best,

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 22nd Apr 2013 04:52
v1.4.0 beta 4 has been uploaded.

Replaced the Orb. Consider it still a WIP.
Replaced the file drop down.
Fixed the issue with double clicking in Virtual Folders.
Fixed the issue with %Default Relative Path% and media root path. Hopefully, it needs testing. (BFM )

Indigo site

I will be increasing the amount to receive an activation code to $15 (US) soon and will increase to $20 by the end of the year. This is still less than the over all average donation of $22.50.

All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 22nd Apr 2013 23:51
Downloading. Wise move with the activation donation cost, it is worth more than $10; and the more money put into the tool the better it gets.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 23rd Apr 2013 02:22
I will have a play with this over the next few days. One thing I'm having problems with is .DBPro extension, it either opens with the old version of Indigo, or DarkBASIC editor. I can't get the 1.4 beta 3 to open files directly from Windows explorer.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
mr_d
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Mar 2007
Location: Somewhere In Australia
Posted: 23rd Apr 2013 12:09
Hi Balid,

I've just recently bought another copy (made another donation of $10 USD while it's still this price), but I haven't received the expected serial number yet. Could you check what the problem may be?

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 1st May 2013 08:40 Edited at: 1st May 2013 08:42
Indigo Beta 4 has been pretty good for my everyday code. That red "File" menu scares me though, I think the orb is much more suited.

In feeling venturous, I started playing around with the code discussed here;

http://forum.thegamecreators.com/?m=forum_view&t=204966&b=7

But it seems that Indigo gets very confused when juggling co-routine commands, with folding failing and getting confused.

Also, the "Repeat" & "Until" commands also fail to fold.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
pdq
17
Years of Service
User Offline
Joined: 20th Jul 2006
Location:
Posted: 5th May 2013 18:38 Edited at: 5th May 2013 18:42
Hi,

Where is the About Dialog box on 1.4.0 Beta 4?
See attached screenshot


Thanks

Attachments

Login to view attachments
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 7th May 2013 05:19
mr_d,

You should have received a follow up to your off forum email.


BFM,

Quote: "that red "File" menu scares me though, I think the orb is much more suited."
No worries. Just me playing around and testing reactions. The orb is back .

Quote: "In feeling venturous, I started playing around with the code discussed here;"
I've got an idea on how to stop the confusion with commands that contain 'next'. But it may be slow.

Quote: "Also, the "Repeat" & "Until" commands also fail to fold.
"
Those was never put in. So kind of hard to fail if it wasn't intended to happen . And easy enough to add .


pdq,

Quote: "Where is the About Dialog box on 1.4.0 Beta 4?"
Great question. Check out v1.4.0 beta 5 (lol). I actually forgot to add the 'About' button .


All,

v1.4.0 beta 5 has been up loaded.
> Added the overlooked 'About' button.
> Corrected the issue of the Function Tip disappearing if using the mouse to reposition carrot.
> Added option to hide the vertical scroll bar (so line overview is only visible)
> and a few other code improvements


Just FYI, the threshold for the activation code is now at $15 and in September going to $20.

Indigo site

All the best,

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 7th May 2013 08:36
One small feature enhancement request;

When right clicking a GoSub Routine, or Function call, could a new option be added to the pop-up menu;

"Go To Declaration - New Window"

Currently, using the "Go To Declaration" feature takes the focus from the subroutine/function call to the declaration, but it would be nice for this second option, where a second window popped up, side-by-side view, so that both the the subroutine/function call and the declaration can be viewed at the same time.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
mr_d
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Mar 2007
Location: Somewhere In Australia
Posted: 7th May 2013 12:53
yep, got your email (with the new serial), thanks

amanalone
14
Years of Service
User Offline
Joined: 27th Feb 2010
Location:
Posted: 10th May 2013 09:25
Hi Balid,
Can you tell me how long a 'donation' lasts for?
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 23rd May 2013 17:51
Liking the latest update; lots of important things are working now. Just a few questions; what is the shortcut key for Go To Line in project? (CTRL + G goes to line in document)

And the shortcut key for go to definition?

One thing that would be cool is a history of cursor locations in the project; so you can advance back or forward. Using CTRL + TAB suffices for locations in separate documents; but it is impossible to visit or toggle the last location in the same document, how ever long that document is. In Visual Studio the shortcut key is Shift+CTRL F2, and there is a back and forward combo button.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 27th May 2013 01:51
Feature Request:

Scratch Pad. A button that users can push which produces a new small sub window that can compile & run code independent of the main active project.

No doubt that users already have their own workarounds to this scenario. I assume most people just run a new second instance of Indigo to paste their scratch code. But working with a full instance of Indigo a pain, always being nagged about saving projects and main DBA source files etc, when all I want is a quick & nasty window to test some logic ideas, or paste & compile some code that's been borrowed from the forums.

Anyone have any similar or better ideas?

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 27th May 2013 05:34
amanalone,

I don't think that I fully understand your question. The activation code doesn't expire.


BFM,

Love the ideas.


Quote: "Just a few questions; what is the shortcut key for Go To Line in project? (CTRL + G goes to line in document)"
Looks like I forgot to turn that back on when I was putting in the Ribbon. The short cut is/was [Ctrl+Shift+G] (turned back on now). Otherwise you can turn it on from the Ribbon under View.

Quote: "And the shortcut key for go to definition?"
[Shift+F2] or just [F12]. There is also the button in the Ribbon under Home->Find/Replace.

Quote: "... In Visual Studio the shortcut key is Shift+CTRL F2, and there is a back and forward combo button."
That is on the list.

All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 27th May 2013 14:15 Edited at: 27th May 2013 16:57
Quote: "Quote: "And the shortcut key for go to definition?"
[Shift+F2] or just [F12]
"


Oh OK. Thanks.

Quote: "Scratch Pad. A button that users can push which produces a new small sub window that can compile & run code independent of the main active project. "


Sounds like a cool idea. One of my favourite features of Indigo is the snippet editor; and that seems like a cool place for test compilation. Another cool idea that might make the list is to have snippets not insert a newline character at the end, so it is possible to insert snippets in parameter tuples. Also the ability to insert snippets using keystrokes; perhaps underscore followed by tab or some other keystroke could create a drop down list so the whole program can be touch typed effectively. - This is just me randomly creating ideas, which would be nice but not as important as errors and performance.

The snippet editor is a big time saver, features like that are what set the IDE apart.

Edit: A little bug with auto-complete and syntax highlight; the code demonstrates that fields are not always auto-completed or highlighted.



In my project, some UDT autocompletes first show a list of fields in the root type, then when the next type is accessed, instead of showing the fields in the second type, it shows the fields in the first again. So Object.TypeA.TypeB.Value shows Object.TypeA.TypeA instead.

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 27th May 2013 20:15 Edited at: 30th May 2013 22:59
How do you track the performance of the IDE in the log? What do I look for to determine action timings? I am trying to optimize my settings but can't seem to find what is causing slow downs.

Even in a small 3000 liner, sometimes there are 10 second pauses, but usually 4 second pauses when clicking or typing new lines or blocks of code. For about 2 or 3 minutes it is fine, then the pauses occur with usually 80 to 90 % CPU usage even when not doing anything. This CPU usage drops to 40% when another window is focused and nothing major is running on the system. The IDE usually takes up only 80 to 100 mb Ram, except when compiling; so there is plenty of Ram available.

Thanks.

Edit: Ok, I think the problem is with the function drop down menu on the top. When used with certain source files, after clicking on it from then onward, the performance in the document goes down. When alt tab is pressed to enter into the window from an external problem, other documents take about 1 to 2 seconds to appear on screen. When done with the troublesome files, it takes about 6 - 8 seconds. Again, only after using the function drop down menu.

This does not occur on every source file, but it seems to be one that references a lot of UDT arrays.

I've uploaded the log attached an example file which will not run since it is part of a large project, but it is one of the files that causes issues. Something is stacking up.

Download

Edit 2
One work around the navigation overkill which might be easier than history is bookmarks. An add bookmark button could be set at a line and moves with the line as the code expands. Going back and forward advances to next or previous bookmark.

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 5th Jun 2013 03:48 Edited at: 5th Jun 2013 04:01
Chris Tate,

A quick note. The issue with 'FrenchDoor.P.Building' not highlighting or autocompleting is that you declared it as an array but not using it as such. So no issue . Place () between 'r' and first '.' and it works .

The other issue however was a silly oversight. I managed to break it before I released it and didn't notice. It corrected now (in v1.4.0 b6).

I still need to look into your second post.

All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 5th Jun 2013 15:50
Hmm not sure why I missed out the parenthesis; so that clears the highlight issue; but the other reason I made the example was to reproduce what was occurring in my real project.
Quote: "no autocomplete for first type"


In other words; this is what auto-complete produces:

FrenchDoor().P.P

This keeps on going: FrenchDoor().P.P.P.P.P; the P field is another UDT.

Let me know anything else I can do to provide information to help with the second post; that is the more devastating problem; I'm having to use the Synergy IDE for coding, and Indigo for compiling; I also need to restart indigo every 3 to 4 compiles.

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 6th Jun 2013 00:02
Chris Tate,

The autocomplete is probably working for me because of the other fix. It makes sense now, that the two were related.

The Routine dropdown issue so far doesn't make sense. I see no reason for the behavior. But sure enough, it's very obvious.

I am concerned by our last statement of having to restart Indigo every 3 to 4 compiles. I hope that that is resolved once I correct the defect with the Routine dropdown.


All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 6th Jun 2013 17:52
It might be to do with the ribbon; when the program starts to slow down, the ribbon starts to flicker for about 10 seconds every 3 to 5 minutes. Did you look at my log file? Perhaps it shows what is going on.

Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 6th Jun 2013 21:24
Chris Tate,

You are correct. It does have a connections with the Ribbon. Specifically the Routine dropdown. I was able to improve the performance but not enough. The dropdown is too slow. Though right now it doesn't seem to be a persistent as it was. I am going to give myself until this weekend to come up with a solution. If I don't. I will post what I have, as it is an improvement.

I have looked at your log and it did help with tracking down the issue.

All the best,
Craig

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 7th Jun 2013 07:25
Going to give the latest version a try since I feel like mucking about in DBP. I'll give my thoughts on it later.

So far I see that it has a very nice UI!

"Sideboobs are awesome. Getting punched in the face is not." - Jerico2Day on violence and nudity
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 8th Jun 2013 20:46 Edited at: 8th Jun 2013 20:47
v1.4.0 Beta 6 has been uploaded.

Chris Tate,

The issue with the Routine drop down is resolved as well as the other UDT defects. Hopefully the other slowness and having to restart Indigo problems are also resolved.

Indigo site

All the best,

Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 8th Jun 2013 23:43
I'll give it a good test and let you know how it works over the next week.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 10th Jun 2013 02:54
I see that the last line "Return/Enter" character bug has now been fixed, almost. I was coding a minute ago when I noticed that the bug started occurring mid-code, rather than being isolated to the last line.

Symptom being, you press "enter/return" whilst the text cursor is at the end of the line of code, and the very last character is then moved to the next new line.

Also, in tidying up my library code, I had a couple of duplicate functions & subroutines, and this sent indigo stir crazy with the JIT crashes. Once I had tidied my code, it stopped crashing.

But as always, love your work Balid. I no doubt wouldn't be enjoying DBPro this much without your efforts Balid, so I can't thank you enough.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 10th Jun 2013 04:20
Burning Feet Man,

I'm going to need a little more information or an example of the code that is causing the error for you. I've been using v.1.4.0 b6 for a couple of days and can not duplicate the error you describe. Nor have I seen any unusual behavior (not to say that others may be).

All the best,

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 10th Jun 2013 12:33 Edited at: 11th Jun 2013 10:00
I can't figure out what triggers it, but a version (or two) ago, below is what used to happen;

Do
Loop
En
d

But now the below is what happens;

D
o
Loop
End

Very odd, it's as if upon pressing Enter, "insert" is engaged and the last letter is skipped to the next line. Even this happens too;

S
Y
NC

Then an error;

StartIndex cannot be less than zero.
Parameter name: startIndex.

On another note, the below command fails to fold, or rather, shouldn't fold at all;

-Matrix1 Utilities-
next coroutine



EDIT: So many errors whilst trimming & tidying code.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 11th Jun 2013 10:25 Edited at: 11th Jun 2013 10:33
I found the bug! There seems to be a second pass happening upon pressing enter, and if you interrupt it by pressing enter again, the code turns to chopsuey! So by pressing enter over & over really really quickly, hopefully you'll see the issue.

EDIT: Further to this, pressing the down arrow key skips two lines instead of one...

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 13th Jun 2013 05:18
BMF,

I uploaded the latest version (v1.4.0 beta 7). It should resolve the "Enter" issue. And there should be an improvement seen in regards to lines with the 'Next' keyword on them.

Indigo site

All the best,

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 14th Jun 2013 02:17 Edited at: 14th Jun 2013 02:18
Great! That bug was driving me crazy, looks to be fixed.

Below is the detail on a secondary bug;



Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 14th Jun 2013 02:56
BFM,

What's the error (for the secondary bug)?

All the best,

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 14th Jun 2013 06:36
Here you go;



Error Copy Paste;



Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 14th Jun 2013 06:56
Burning Feet Man,

Thank you. The screenshot and the copy of the error log are very helpful. I was not able to duplicate the error but hopefully I can still resolve it for you based on the information that you've provided.

All the best,
Craig

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 15th Jun 2013 15:09 Edited at: 15th Jun 2013 15:13
Erk... Balid, there's a nasty bug still lurking that nukes everything in a DBA file, reducing it to 0kb. I haven't been able to figure out what causes this... but I've seen it twice now in ~6 months. Last time I resorted to Windows 7 File Restore to repair my empty file, but this time I think I've lost a couple of hours work. ;_;

EDIT: Restored from my sync program Spideroak... only lost a couple of lines. *FEW* ^_^ But yeah, a nasty bug none-the-less. If only I had my sync proggy active, I wouldn't have lost anything =\.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Kezzla
15
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 15th Jun 2013 15:13
Dunno if this is a bug or a change in function... the > button next to project name now runs my exe instead of opening the project folder.

I'm not a complete idiot -- Some parts are just missing.
Balid
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 16th Jun 2013 00:35
Burning Feet Man,

Thank you for letting me know. I'll see if I can find the needle in the haystack. In the meantime, I would suggest turning on the automatic backup in Indigo.


Kezzla,

I am sorry, but nothing has changed in regards to the '>' button next to the project name. The only thing that it is coded to do, is open the project folder. I have no idea why it is acting weird for you.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 16th Jun 2013 01:10 Edited at: 16th Jun 2013 03:04
Thanks Balid, it was late at night so sorry if I sounded cranky in my last post. I'm rather ignorant too in not using Indigo's backup functionality, as that would have restored my code too.

EDIT: I've ticked backup on save, but I can't find/change which directory the backups are saved to?

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 16th Jun 2013 03:16
Quote: "I am sorry, but nothing has changed in regards to the '>' button next to the project name. The only thing that it is coded to do, is open the project folder. I have no idea why it is acting weird for you."




I have seen some strange things happen with Windows events from operating system to operating system; but that one seems pretty wierd.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 17th Jun 2013 04:33 Edited at: 18th Jun 2013 04:54
Hey Balid,

Quick question; Some of the DarkBASIC help files ship as a .CHM file. I've just added a .CHM reader to Firefox, and was curious if you're able to have Indigo use the "Default Web Browser" to access the help files on pressing F1, rather than what appears to be a slimmed down IE?

No biggy really, just thought I'd ask.

EDIT: Oh oh! I have more info on the "Delete line above function/gosub"! If you use backspace to delete the information, no error occurs, but if you use the Delete key, ka-pow, error! ^___^

EDIT: I'm getting delays from inellisense, where it shows a blank pop-up for around 5 seconds. Seems to be triggered by typing certain words, such as "time" or "count"...

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 19th Jun 2013 14:42 Edited at: 19th Jun 2013 15:24
OK, I have completed my test. And have seen that the user interface performance has improved significantly. The ribbon no longer causes screen flickers and crashes.

It all seemed like it was finally going to allow me to touch type and a decent speed; up until a few minutes its CPU usage starts to rise and rise; peaking at 90% even when I am not using it or doing anything.

The worst experience comes when you compile. After that, then starts the status bar flashing and 10-15 words per minute type speed with no auto complete (except for UDT period completion).

I ended up installing Indigo 1.33; which works about 3 times faster than 1.4. 1.33 is about half as fast as the Synergy IDE, but it packs better features although I am back with the unhighlighted local types etc; but that is more bearable than 10-15 words per minute.

Log file crash
Sometimes the error report is still in use and the program tries to access it, but throws this exception:



DBA crash

You can't open a .DBA file; period. It will crash immediately with the following:


Observation of performace
I tried to make a report of how the performance is and this is what I came up with.

Observing the process list and after frequently using Indigo in a work session, there are two behaviours of performance that have been spotted.

A: When Indigo has UI focus, it consumes 80-90% of the CPU, leaving 20% for the compiler, which simply stalls. When you take the focus away from indigo, and select another window in another program, the compiler consumes the usual high level of CPU use, and indigo’s usage drops to 20-30%.

Something is running which is slowing things down when the window has focus; it might be the whole update pipeline but should this be burning rubber calculating things whilst nothing is being done?

B: In other cases, indigo simply uses more of the CPU than the compiler.

Giving the compiler high priority, forces the system to speed it up thus a given compilation that takes 40 seconds, ends up taking 10 seconds.

In both scenarios, the performance declines the more you often you fire that compile command. I do not understand why there are two behaviours I am seeing here, perhaps one is related to UI, and the later is related to communication with the compiler. It used to be possible to use Visual Studio and Indigo at the same time, but now when VS is in focus, indigo still uses up more of the CPU than VS.

This is not the case with 1.33; its CPU usage is moderate at 50-70%. Perhaps some plugin or component is performing a recursive calculation repetitively, who knows.

At least the difference between the two versions indicates where the issue is.

Hopefully I'll be getting some funds in a few weeks so I can donate more for this thing.

Auto-complete bug
It is case sensitive to a degree. If you type something in different case, instead of auto completing, it appends the command at the end of what should have been the command. EG: position objPosition Object.

Minor ideas for features for the future {* = priority}
*** Bookmarks!
*** Multi-declaration on single line syntax highlight. EG: Local x#, y#, z# : Global Left, Right, Up, Down
** Find and replace with match case sensitivity, and whole word.
** Function parameter count error check
** Plugins (.Net) I think that was asked for before
** Performance debugger list; something that lists the tick rate of Indigo's features so that more effective testing can be performed; at least during Beta stages.
* An error list, so that you can see that there are errors in an unopened project file.
* No auto-complete when you paste text. EG: No need to auto complete loads of lines of code simply pasted from a document.
* An option (or forced like in VS) to display auto-complete in alphabetical order, so scrolling up or down means you can actually look for the entry.
* No error reporting of code in comments
* Search wildcard check box option(* any characters up until. \n new line. \t tab. +One or more. ? zero or more)
* Cancel key button or click button for open all includes; what happens when you accidentally click it with over 100 includes in a project? The rest is history.

Burning Feet Man
16
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 20th Jun 2013 00:30
Ahh, the Auto-complete bug! I though I was going.crazyCrazy! I hate that guy!

Chris, have you made exceptions to the DBpro file formats & directory, and also the Indigo directory & Indigo temp directory in your antivirus exceptions list? I noticed a lot of my load times disappeared after I configured my AV to be DBPro & Indigo friendly.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 20th Jun 2013 01:15
Hmm... That sounds worth a try. Will check that.

Login to post a reply

Server time is: 2024-04-25 04:56:15
Your offset time is: 2024-04-25 04:56:15