Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4974

Re: Error handling seems replaced by quit without warning

From "Jamal" <jamal@examples.net>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Error handling seems replaced by quit without warning
Date 2013-03-27 10:58 -0400
Organization Aioe.org NNTP Server
Message-ID <kiv1em$7p9$1@speranza.aioe.org> (permalink)
References <vtapk8l4llqu0hlqru4up765fq1a0nr06s@4ax.com> <kiq8da$tu3$1@speranza.aioe.org> <nhv5l81pke68u3s7vcsi2emtsp5j4eq3vq@4ax.com>

Show all headers | View raw


Hi Dick,

The original VO compiler developers wanted to make us feel good about having 
the high optimization features, sadly these feature cause unpredictable 
runtime results as the compiler wants to take short cuts when generating 
code.

Can you duplicate the error handler issue in a small test AEF?

Jamal

"D.J.W. van Kooten"  wrote in message 
news:nhv5l81pke68u3s7vcsi2emtsp5j4eq3vq@4ax.com...

On Mon, 25 Mar 2013 15:26:05 -0400, "Jamal" <jamal@examples.net>
wrote:

>1. What compiler options do you have for your application?  Do you have 
>high
>optimization checked? If so, set it to None.
>2. Turn off any run time checks.
>

Hello Jamal,

Currently I am totally lost. Yes, your seggestion worked for the
latest location where the program did quit. This are the facts:

The "offending" code is:
cField:=SELF:oTPRELATIEVENSTER:odcmNaam:Value

cField is a string, SELF:oTPRELATIEVENSTER:odcmNaam:Value is a string
from an exported class variable. It quits when run with high
optimization.

But it works 100% fine (reading the value in the variable, so no run
time error ) when I:

-put opimization to none
-check debug on for the method in which it went wrong

_Debout shows ERROR IN NOIVARGET VALUE (I think that's something in
the VO libs) when it quits (and not when I set optimization to none or
debug on)....

I've even rebuild my whole repo, exporting all aef's and importing
them in a new fresh repo (but haven't had any incident with the repo
since 2.8).

Then I added a textbox in the same method showing 1/n where n = 0. The
program again quit without error....

Does this make any sense to someone?

Dick 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error handling seems replaced by quit without warning D.J.W. van Kooten <public@ic2remove.this.com> - 2013-03-22 20:08 +0100
  Re: Error handling seems replaced by quit without warning "Jamal" <jamal@examples.net> - 2013-03-25 15:26 -0400
    Re: Error handling seems replaced by quit without warning D.J.W. van Kooten <public@ic2remove.this.com> - 2013-03-27 15:21 +0100
      Re: Error handling seems replaced by quit without warning "Jamal" <jamal@examples.net> - 2013-03-27 10:58 -0400
        Re: Error handling seems replaced by quit without warning D.J.W. van Kooten <public@ic2remove.this.com> - 2013-03-27 21:01 +0100
          Re: Error handling seems replaced by quit without warning "Jamal" <jamal@examples.net> - 2013-03-27 18:34 -0400
            Re: Error handling seems replaced by quit without warning D.J.W. van Kooten <public@ic2remove.this.com> - 2013-03-28 06:22 +0100
      Re: Error handling seems replaced by quit without warning "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-03-27 16:12 +0100
  Re: Error handling seems replaced by quit without warning D.J.W. van Kooten <public@ic2remove.this.com> - 2013-03-28 21:13 +0100
    Re: Error handling seems replaced by quit without warning "Willie Moore" <williem@wmconsulting.com> - 2013-03-28 17:31 -0500

csiph-web