x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

why do variables in BP debugger hardly ever show up?

I posted a question in the general hub where I also linked other similar questions. I don't know if this qualifies as a bug or not, but since nobody has ever received a satisfying answer to this question, and the UE documentation describes the debug system as working, I consider this a bug. I include a screenshot of a debug session with a popup, but this particular locatio is of no concern. It happens anywhere and with everything. Either I get this kind of message or "variable not in scope" but hardly anywhere can I really see values which makes the whole BP debugger practically worthless. If this is a known problem, I would like to know so I can stop spending time debugging Blueprints, hoping that every now and then I get a meaningful information from the debugger. In my eyes, if you have lots of those occurrences while it is not mentioned in the documentation, it is a bug.

alt text link text

Product Version: UE 4.10
Tags:
untitled-2.jpg (169.3 kB)
more ▼

asked Nov 22 '15 at 09:41 AM in Bug Reports

avatar image

Wallenstein
627 35 46 76

avatar image Adam Davis STAFF Nov 23 '15 at 04:27 PM

Hi Wallenstein,

There is a bug report, UE-2821, in place for debugging local variables, however often it depends on what variables you are attempting to watch.

Unfortunately without knowing specifically what you are looking for and what variable types you are viewing, it will be difficult to diffuse more information. Are you using local variables or variables within the whole blueprint when this occurs? Do you see the same error occur in the event graph as opposed to a custom function?

Additionally, the error you are seeing with your custom function may be tied to the return node within your forloop. This is returning your function on a true value, however you aren't breaking the loop, so it could be getting in the way of the function. Try either breaking the loop by using a forloopwithbreak or set a boolean value that at the completed will return a different value to your second return node if true, if false use the same return node on the completed pin.

avatar image Wallenstein Nov 25 '15 at 09:30 AM

Well all I'm saying is, the BP debugger doesnt work as the tutorials make us believe. It is basically useless. You go in with the step function and you are taken down every macro or function, the variables hardly ever show up and if they do, you cant see fields in structures or classes. If it weren't for the PrintString node I would have long given up, that's the only way I can get visuals for variables and chase bugs. The debugger should be very high on the priority list of the developers to improve it a lot

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Thank you for your update. There are a number of bug reports already implemented for improvements to the blueprint debugging tools. If there is anything in particular you think would make a good addition to the visual debugging tool, please let me know and I'll be happy to add a feature request or bug report if one does not already exist for it.

more ▼

answered Nov 25 '15 at 02:31 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question