1. Berka Frenfert
  2. PowerBuilder
  3. Thursday, 29 December 2022 06:30 AM UTC

One of the worst problem with PowerBuilder(by birth) is that it cannot save object if there is error in script.

 

Is there a way to save object if whole bunch of errors are there in any script?

 

Why not there is need for autosave?

 

Note: This question description was edited to avoid any confusion.

 

 

Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 27 January 2023 14:21 PM UTC
  2. PowerBuilder
  3. # Permalink
Of course... we always try to do that to best of our ability. That is why I said "second compilation option" rather than we are replacing the current one.
Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 13 January 2023 05:54 AM UTC
  2. PowerBuilder
  3. # 1
Hi Berka; Weird ... but then again, your on an old deprecated & unsupported version of Sybase PB that was not even W10 compliant. I hope though that you can upgrade soon to Appeon PB where you can even use a modern SCC software like GIT or SVN instead of VSS (also deprecated long ago by Microsoft). Happy New Year. Regards ... Chris
Comment
There are no comments made yet.
Berka Frenfert Accepted Answer Pending Moderation
  1. Friday, 30 December 2022 05:55 AM UTC
  2. PowerBuilder
  3. # 2

Increased compile time is not a problem at all. You know Runtime speed matters. For AutoSave if it takes 10 more seconds of wait, I am very much happy to have Autosave option.
I appreciated notepad++ many times when my work was saved after a crash or power failure. So I always have it installed and many thanks to the developer.

The thing that matters is our smile  at the end "It’s Better Late Than Never". You know it's quite possible that PB may crash even before you get chance to comment  your last few steps.

Comparision of many IDEs does count AutoSave no matter how hard it is for you to have that feature in PB.
I dont know what you guys are thinking but i think that the IDE i use for development is not closer to even 10% features of visual studio or eclipse etc. You guys need to accept that because i know PB IDE is not completely bad but lacks many important features other  IDEs provide these days.
I cannot say either its is hard for you to make changes or hard to understand what is important. I know i cannot push you to do something you dont want to do neithe i am trying to push. Its all about the way i feel about PB IDE.

I am sorry if it hurts your feelings.

 

Regards,

Berka

Comment
  1. Sivaprakash BKR
  2. Friday, 30 December 2022 08:24 AM UTC
We too have lost few hours of work many a times, when there is a sudden crash of PB IDE. As Berka says, I still have my notes in notepad++ which I entered six months ago without saving it. Sure PB IDE cannot be compared with Notepad++, but just to highlight one important feature.
  1. Helpful
There are no comments made yet.
Bruce Armstrong Accepted Answer Pending Moderation
  1. Thursday, 29 December 2022 18:46 PM UTC
  2. PowerBuilder
  3. # 3

What Andreas said. It was originally a key feature of PowerBuilder.  Unlike other tools where you made a bunch of changes and then did a compile (which took a long time) in order to run the app, PowerBuilder compiled on each save which means that you can run it immediately after a save and it will run right away.   The long compile time for other tools is still a source of jokes, such as https://xkcd.com/303/


Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 29 December 2022 19:29 PM UTC
Exactly... it's not a moronic mistake but rather a tradeoff that was made by Powersoft to allow you save time from the compile/run. For PowerBuilder's roadmap, we are considering to add a second compilation option that will not do the pre-compile step but then you will get hit with tradeoff of compile/run taking much longer.
  1. Helpful 1
  1. Sivaprakash BKR
  2. Friday, 30 December 2022 04:40 AM UTC
Additions (enhancements) should NOT take away what we enjoy now :)
  1. Helpful 1
  1. Berka Frenfert
  2. Friday, 27 January 2023 14:18 PM UTC
That is acceptable and best option the 2nd compilation option. You know those are app users who worry and keep counting seconds but not me as a developer because i have to deal with many other time taking processes other than just compilation time. User does not care how much time it took me to compile the app.

Thank you so much for considering this question a valid request to have auto save option.



True Regards,

Berka
  1. Helpful
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Thursday, 29 December 2022 06:55 AM UTC
  2. PowerBuilder
  3. # 4

Hi Berka.

I believe that the main reason is because PB saves "compiled" code to pbls. When some script has errors then compilation fails! So you can't save...

Andreas.

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 29 December 2022 13:10 PM UTC
Sharing the ToDo list dynamically across IDE instances would be a "cool" feature.

Yes, being "organized" is a key work approach in any development software tool that I've ever used. ;-)
  1. Helpful 1
  1. Chris Pollach @Appeon
  2. Thursday, 29 December 2022 13:21 PM UTC
BTW: the editing techniques I use in PB today, I started using way back in my early Assembler, Cobol, PL1, etc tool days. These techniques still work no matter what the IDE in my experience.
  1. Helpful
  1. Berka Frenfert
  2. Monday, 2 January 2023 05:32 AM UTC
Hi Chris,

What techniques you might suggest other than VSS like something?



I am not sure about newr IDEs but PB12.5 crashes in just 5 seconds if i search equal sign in Library Search Entries.

My computed fields are interrelated and some goes deeper than 50 levels of nested conditions. It takes me hours to fix one expression. I do have clipboard manager installed and many times it saved my time but i am interested in 100% working solution to this problem. So, AutoSave was 1st thing in my mind.



True Regrads,

Berka
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.