Consultor Eletrônico



Kbase P12745: profile data linenumbers exported as signed int, causes "wra
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/03/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

profile data linenumbers exported as signed int, causes "wraparound" and corrupt "prof.out" data

Progress Profiler

CAUSE:

Since the introduction of a new action-code segment the problem may occur is your code is larger than 32K.

The line-numers in the profilingdata output, is outputed in an 16Bit signed int, sowe get a wraparound if the "debug-listing-code" is more than 32767 lines. Because 9.1D allows for more action-code segments, its easy to exceed the barrier.

Because of that, both the "call tree" section, "line summary" section, "tracing data" section, and the "coverage data" section are corrupted, and profiling unusable.

FIX:

Reduce the amount of code.