Forums › Forums › SIMPOL Programming › Examples’
- This topic has 3 replies, 2 voices, and was last updated 14 years, 6 months ago by JD Kromkowski.
- AuthorPosts
- October 8, 2009 at 1:04 am #1766JD KromkowskiParticipant
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").October 8, 2009 at 6:41 am #111JD KromkowskiParticipantI’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.
October 8, 2009 at 6:38 pm #1592MichaelKeymasterJDK 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
October 9, 2009 at 12:49 pm #1492MichaelKeymasterJDK 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
- AuthorPosts
- You must be logged in to reply to this topic.