Skip to content

Examples’

Forums Forums SIMPOL Programming Examples’

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1766
    JD Kromkowski
    Participant

    Neil Robinson wrote:

    > No, the source to that library is also supplied. To debug into that,
    > import the project into the addressbook project. To do this, right-click
    > on the root node of your project in the project panel. Select "Import
    > Modules from Project". Pick the appframework.smj from the file picker.
    > Now you can debug into that source code as well.

    Ok, but "application.sma" has a red X through and I can't seem to find
    that any place.

    Once, you import the modules, I can execute the program but I cannot debug
    it at all (I am pretty sure this is because the program can't find
    "application.sma").

    #111
    JD Kromkowski
    Participant

    I’m looking at the Address Book example. I’m using the debugger to follow what is going on. But once you get into app.run() you are basically blind as to what is happening as functions get called from menu or toolbar. If I understand correctly that is because most of the “guts” of what is happening is being handled by the appframework.sml which we really can’t look at. So for example, if I want to see what you are doing in checkandsave() I’m out of luck.

    #1592
    Michael
    Keymaster

    JDK wrote:
    > I'm looking at the Address Book example.
    >
    > I'm using the debugger to follow what is going on.
    >
    > But once you get into
    >
    > app.run()
    >
    > you are basically blind as to what is happening as functions get
    > called from menu or toolbar.
    >
    > If I understand correctly that is because most of the "guts" of what
    > is happening is being handled by the appframework.sml which we really
    > can't look at.
    >
    > So for example, if I want to see what you are doing in
    >
    > checkandsave()
    >
    > I'm out of luck.
    >

    No, the source to that library is also supplied. To debug into that,
    import the project into the addressbook project. To do this, right-click
    on the root node of your project in the project panel. Select "Import
    Modules from Project". Pick the appframework.smj from the file picker.
    Now you can debug into that source code as well.

    Ciao, Neil

    #1492
    Michael
    Keymaster

    JDK wrote:
    > Neil Robinson wrote:
    >
    >> No, the source to that library is also supplied. To debug into
    >> that, import the project into the addressbook project. To do this,
    >> right-click on the root node of your project in the project panel.
    >> Select "Import Modules from Project". Pick the appframework.smj
    >> from the file picker. Now you can debug into that source code as
    >> well.
    >
    >
    > Ok, but "application.sma" has a red X through and I can't seem to
    > find that any place.
    >
    > Once, you import the modules, I can execute the program but I cannot
    > debug it at all (I am pretty sure this is because the program can't
    > find "application.sma").

    You're right. It is missing from the installation. I have emailed it to
    you, and will be trying to put up an updated installer with all the
    recent corrections by the end of the weekend.

    Ciao, Neil

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.