The ability to have multiple statements in a single Calculation or String Manipulation component is certainly nice, but it makes debugging difficult. Would it be possible to single step through each individual statement in a multi-statement component?
-Jim
Single Step Debug in Multi-statement Calculation Component
-
- Posts: 26
- Joined: Mon Aug 18, 2008 11:47 pm
- Location: Orcas Island, WA
- Contact:
- Steve
- Matrix Staff
- Posts: 3424
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: Single Step Debug in Multi-statement Calculation Component
This may be a little tricky. I know it's not ideal, but you could instead put each calculation line into a separate icon.
As an alternative, I could look at providing an option to separate a single multi-line calculation icon into multiple single-line calculation icons (perhaps via a reight-click menu). Perhaps we could also provide an option to do it the other way (e.g. the user selects multiple calculation icons and selects "combine" to produce a single calculation icon).
As an alternative, I could look at providing an option to separate a single multi-line calculation icon into multiple single-line calculation icons (perhaps via a reight-click menu). Perhaps we could also provide an option to do it the other way (e.g. the user selects multiple calculation icons and selects "combine" to produce a single calculation icon).
-
- Posts: 26
- Joined: Mon Aug 18, 2008 11:47 pm
- Location: Orcas Island, WA
- Contact:
Re: Single Step Debug in Multi-statement Calculation Component
Steve,
Regardless of the single step capability, a split/combine would be a great added tool. (That's what I've been manually doing.) The only issue I can see is you'll have to handle the conditions where a user selects a range with icons that can't be combined.
-Jim
Regardless of the single step capability, a split/combine would be a great added tool. (That's what I've been manually doing.) The only issue I can see is you'll have to handle the conditions where a user selects a range with icons that can't be combined.
-Jim
- Steve
- Matrix Staff
- Posts: 3424
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: Single Step Debug in Multi-statement Calculation Component
Hi Jim,
I've thought of this and I think the option to combine calculation icons would only be available when a continuous list of calculation icons is selected. This should be easy to do.
I've thought of this and I think the option to combine calculation icons would only be available when a continuous list of calculation icons is selected. This should be easy to do.