Automatic generation of Jellyfish Pro project file

Started by Marc van Cauwenberghe, December 06, 2009, 06:20:42 AM

Previous topic - Next topic

Marc van Cauwenberghe

Paul,
I do miss the feature. I use it quit regularly when debugging. Is there a reason you did not implement this in FF3?

Regards,
Marc

David Kenny

Marc,

There is no Jellyfish Pro project file per se. I am assuming you just mean the .bas file (BASIC source code file)  If that's the case then you probably are looking for the CODEGEN files that FF produces. 

You can now turn that on and off in the Project Properties dialog.  It's the checkbox labeled 'Delete generated code after compile'. Make sure it is unchecked. Take note of the 'Main Project Folder' specified in a field a little further down that dialog. You will find the FF generated code you are looking for in the 'release' folder under the 'Main Project Folder'.

Open the one that ends with 'MAIN.bas' in JellyFish.

David

Rolf Brandt

David,

Marc was quite right, FF2 generated a Jellyfish Pro project file:
CODEGEN_DBMANAGER.jfp
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Paul Squires

I removed the automatic generation of the .jfp project file. No real good reason why I did so. I will implement it again for the next update.
Paul Squires
PlanetSquires Software

Marc van Cauwenberghe


David Kenny

I stand corrected Marc. I have never noticed this file before. I don't see how it could be used for debugging however.  And I really don't think that JFP stands for Jellyfish Pro. :)

What use did you find for it Marc?

Jean-pierre Leroy

David,

At first, in FF3, in "Project properties", the option "Delete generated code after compile" should not be set.
Then In JellyFish  Pro, choose menu "Project", "Open Project ..." to load all the source codes generated by FF3.

Then you should be able to compile your FF3 project directly in JellyFish Pro.

Jean-Pierre

Rolf Brandt

QuoteI don't see how it could be used for debugging however.

Reason is that if PB returns an error it will give you the code line of the generated code. In most cases FireFly will show you the correct line of code in the project, but not always. Since Jellyfish uses the generated code it will always point to the correct line of that code. That can be helpful to find an error.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Marc van Cauwenberghe

Thank you Jean-Pierre and Rolf. Nothing to add :)

Marc

David Kenny

#9
 :-[ :-[ :-[

Well... I really should make sure I know what I am talking about before posting!  I didn't notice that JFP had the feature you are referring to. 

I have always used JFP manually for testing FF compilation problems.  I had no idea (entirely my fault) that Paul had done anything to make that process easier. 

Marc, Please accept my apologies - I sincerely hope I didn't offend you.

David Kenny

Marc van Cauwenberghe

#10
No problem David.
Trying to help is what makes this forum.  I have done my fair share of 'not being quit right'.
It got me thinking and that is OK.
Come to think of it, if you had not reacted to this topic would MAYBE have no reply. Rolf and Jean-Pierre would MAYBE not have reacted and Paul would MAYBE not have solved my problem in 3.05.
So thank you very much  :) ;) :) ;) :) ;).

Marc

P.S. example of chaos theory me thinks.

Rolf Brandt

Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Marc van Cauwenberghe


Rolf Brandt

Great guy! Unfortunately died much too young. He wrote the "Hitchhiker's Guide to the Galaxy", a very humerous persiflage of Star Trek. It is the incarnation of British Humor.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Marc van Cauwenberghe

I just looked him up at Wikipedia.
I really liked 'Hitchhiker's Guide to the Galaxy', did not know it was him who wrote it.
British humor, the best.