My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 253: GetStackVariables needs a cast to string
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Sep 2013


 
Reported by damjan.cvetko@gmail.com, Sep 10, 2013
What steps will reproduce the problem?
1. Run GetStackVariables and all you get is an array of "true"

Variable name needs to be casted to string.


Index: Debug.cpp
===================================================================
--- Debug.cpp	(revision 756)
+++ Debug.cpp	(working copy)
@@ -533,7 +533,7 @@
                 StackVariable *variable = 
                     stack->mStackFrames[stackFrameNumber]->variables;
                 while (variable) {
-                    ret->push(variable->mHaxeName);
+                    ret->push(String(variable->mHaxeName));
                     variable = variable->mNext;
                 }
                 break;
Sep 10, 2013
Project Member #1 gameh...@gmail.com
I have made this change on SVN, but have not tested it for functionality.

Status: Fixed
Sep 10, 2013
#2 damjan.cvetko@gmail.com
Checked and it works here.

Powered by Google Project Hosting