I have found a bug which I wanted to bring to your attention.
When creating Custom Components, in the MacroParameters definitions section, the keyword "Count" is case sensitive which in itself is not an issue. However if you inadvertently enter "count" in place of "Count" it will crash Flowcode and lead to sever loss of hair as you pull clumps of hair off your head while trying to work out what it is you are doing that causes Flowcode to crash.
Cheers
Sefi
Flowcode V5.4 Crash *** Bug Alert ***
Moderator: Benj
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: Flowcode V5.4 Crash *** Bug Alert ***
Can you please post some example as I can't replicate that in my machine?
Re: Flowcode V5.4 Crash *** Bug Alert ***
Hi Enamul,
Thanks for looking into this. I have attached a very simple Custom Component with only one macro. Please do the following to replicate the situation:
1- Open a new project with whatever PIC type you like.
2- Add the attached custom component to your project
** All OK so far - The component is added normally ***
3- Now go into the Components directory of Flowcode (where you have saved the attached Custom Component) and open FC5_PIC_Custom.c in your normal editor
4- Now, do a search fro this line "[MacroParameters_LCD_Writ_Bus]"
5- On the next line you will find ==>> "Count=2"
6- Change "Count" to "count"
7- Save this file
8- Go to Flowcode and reload the FC5_PIC_Custom.c file by "Saving" the project.
9- Flowcode will ask you where you want to save this new project, choose wherever you like and attempt a save.
10- Flowcode will now crash and disappear.
Please let me know if you can replicate the problem.
Many thanks
Sefi
Thanks for looking into this. I have attached a very simple Custom Component with only one macro. Please do the following to replicate the situation:
1- Open a new project with whatever PIC type you like.
2- Add the attached custom component to your project
** All OK so far - The component is added normally ***
3- Now go into the Components directory of Flowcode (where you have saved the attached Custom Component) and open FC5_PIC_Custom.c in your normal editor
4- Now, do a search fro this line "[MacroParameters_LCD_Writ_Bus]"
5- On the next line you will find ==>> "Count=2"
6- Change "Count" to "count"
7- Save this file
8- Go to Flowcode and reload the FC5_PIC_Custom.c file by "Saving" the project.
9- Flowcode will ask you where you want to save this new project, choose wherever you like and attempt a save.
10- Flowcode will now crash and disappear.
Please let me know if you can replicate the problem.
Many thanks
Sefi
- Attachments
-
- FC5_PIC_Custom.c
- (3.98 KiB) Downloaded 252 times
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: Flowcode V5.4 Crash *** Bug Alert ***
Yes..you are right. Flowcode simply disappears. I have tried to open the flowcode again..It opens but it again disappears when I click in custom component. Really strange 
