PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: James Reeder on May 28, 2015, 09:14:24 PM

Title: How to Debug?
Post by: James Reeder on May 28, 2015, 09:14:24 PM
I am finally using FireFly 3.70 for a paying job.  I am looking to debug some code.  As I would like to step through the code, I tried using the PB10 compiler to compile the generated source code, however, I receive compiler errors.  Example:

Error 519 in <path>\RELEASE\CODEGEN_CONVERSION_FRAMEWORK_CLSFRAMEWORK.INC (1210:021):  Missing declaration: EDIT_GETRIGHTMARGIN

Line 1210: Property = Edit_GetRightMargin( MyBase.hWnd )

The FireFly project compiles without error, however, I am getting some unexpected results, so I need to step through the code.

Thanks,
Jim
Title: Re: How to Debug?
Post by: Paul Squires on May 28, 2015, 09:30:47 PM
Hi James,

Seems like you stumbled on the same problem as outined in the following thread:
http://www.planetsquires.com/protect/forum/index.php?topic=3627

It should be an easy fix. Go into the *.ffp file for your project and search for this line:

UseObjectFramework=0

Ensure that it is set to zero.

Hope that works for you  :)
Title: Re: How to Debug?
Post by: James Reeder on May 29, 2015, 01:51:52 AM
Paul,
Thank you, this corrected the issue.  As mentioned by another member, I also liked the object notation, however, the change was simple enough.