Hi Guru
If I run my project from the IDE I get a crash
What I can see (see attachment) is that the w_frame is drawn very small in the upper left corner.
After a few seconds a crash occurs.
directions?
ty
p.s.
Windows 10
Powerbuilder 2017r3
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Crash from the IDE ( Urgent )
- ATK Gimmy Susan
- PowerBuilder
- Thursday, 30 May 2019 12:53 PM UTC
- Thursday, 30 May 2019 13:11 PM UTC
- PowerBuilder
- # 1
Hi Gimmy,
PowerBuilder step-by-step debug until the crash occurs?
Best,
.m
- Thursday, 30 May 2019 20:18 PM UTC
- PowerBuilder
- # 2
Check the Library List to ensure completeness.
Do a full rebuild, as per Michael.
DEPLOY the application to generate the EXE.
Test it again.
If the code still abends, then NOW you can so a step-by-step DEBUG.
Good Luck,
Olan
Comment
- David Peace (Powersoft)
- Friday, 31 May 2019 07:53 AM UTC
Agreed, I cannot offer any other options.
Good luck
Good luck
-
Helpful Loading... Helpful 0
There are no comments made yet.
- Friday, 31 May 2019 07:07 AM UTC
- PowerBuilder
- # 3
Comment
- ATK Gimmy Susan
- Friday, 31 May 2019 09:34 AM UTC
Is there a viewer of the generated file?
-
Helpful Loading... Helpful 0
- Brad Mettee
- Friday, 31 May 2019 12:57 PM UTC
Any text editor/viewer can open a generated with /pbdebug.
-
Helpful Loading... Helpful 0
- Michael Kramer
- Friday, 31 May 2019 19:17 PM UTC
PBDEBUG log file is just a long, long text file.
Log file flushes to disk at every write => app may appear slow.
After crash open logfile in any text editor that can handle large files. File may have > 100'000+ lines.
Scroll to end to find crash point.
Search upwards to unravel call stack when crash occurs.
Use that info to review code. Potentially set debug breakpoints and deep dive with debugger.
Log file flushes to disk at every write => app may appear slow.
After crash open logfile in any text editor that can handle large files. File may have > 100'000+ lines.
Scroll to end to find crash point.
Search upwards to unravel call stack when crash occurs.
Use that info to review code. Potentially set debug breakpoints and deep dive with debugger.
-
Helpful Loading... Helpful 0
There are no comments made yet.
- Sunday, 2 June 2019 07:25 AM UTC
- PowerBuilder
- # 4
I´ve seen the exact same crash as described by Gimme happen many times in my applications.
After doing a full rebuild it's solved.
Comment
There are no comments made yet.
- Tuesday, 4 June 2019 02:31 AM UTC
- PowerBuilder
- # 5
I see this issue is marked as resolved. Can you please share with us how it was resolved?
Comment
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.
However, you are not allowed to reply to this question.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »
First however, full rebuild. May fix issue if caused by compiled code out of sync during development.
Otherwise step-by-step debug until you hit code that makes window small - and later makes app crash.