IBM Support

PM37126: Global breakpoint not recognised where two projects are referenced within application

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: Windows
    
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  8.0.1.1
    Description.
    Global breakpoint do not work where two projects are referenced
    within the application.
    
    The import statement to code located in another project and a
    Global breakpoint is added  ie:
    import common.commonFunction2;
    program pgm1 type BasicProgram{IncludeReferencedFunctions = yes}
    
        const constantName string = 'literalString';
    
        variableName string;
        variableName2 string;
    
        function main()
    
            variableName = 'LKA'; //This is my input for Global
    breakpoint
            variableName2 = 'LKA';
    
            commonFunction1();
            commonFunction2();
            variableName2 = 'STOP'; // Set a normal breakpoint on
    this line
    
        end
    
        function commonFunction1()
    
        end
    
    end
    
    Steps to reproduce:
    a) In the debugger add a global true condition relating to the
    above variable ie variableName == 'LKA' and then set a normal
    breakpoint on variableName2 = 'STOP'
    b) Debugging will show the global breakpoint is ignored and the
    debugger instead goes directly to the variableName2 = 'STOP'
    line.
    c) Comment out commonFunction2() relating to the import,
    referenced project and the global breakpoint will work correctly
    by suspending the debugging session and the breakpoint is
    removed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using a top level function that exists in a project
    other than the program's project, global breakpoints were
    not being honored.
    

Problem conclusion

  • A fix was applied so that using toplevel functions in
    referenced projects no longer causes a silent build error,
    and the global breakpoints are able to be properly compiled
    and run.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM37126

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-15

  • Closed date

    2011-07-28

  • Last modified date

    2011-07-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R801 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
28 July 2011