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"

add some codes into engine source,but added code don't debug

I download engine source,and use vs2015 to compile with 'debuggame editor',I want track code execution flow and write several codes into engine source,then I start debug,but breakpoint don't be set on these added rows.it is seem that added code' debug simbol is miss!!!.

Product Version: UE 4.17
Tags:
more ▼

asked Jan 02 '18 at 06:13 AM in C++ Programming

avatar image

jianliangli
3 1

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Try building for "Debug Editor", instead of "DebugGame Editor".

more ▼

answered Jan 02 '18 at 12:04 PM

avatar image

Jin_VE
4.3k 31 77 40

avatar image Jin_VE Jan 02 '18 at 04:17 PM

By the way, this is how it is for the other build configurations. If you want to debug your game only then use the configurations with "DebugGame" in their name. If you want to debug the engine (game/editor/server) then you need the configurations with "Debug" in their name. If you don't have to debug the engine then always use DebugGame because it's much less of almost everything (symbols, compile time, CPU use, etc).

(comments are locked)
10|2000 characters needed characters left

thank you verymuch,your answer is right!!!

more ▼

answered Jan 02 '18 at 04:11 PM

avatar image

jianliangli
3 1

avatar image Jin_VE Jan 02 '18 at 04:13 PM

Glad to hear you are back on track. Can you mark my answer to close your question? It's the check-mark to the left of the answer.

(comments are locked)
10|2000 characters needed characters left
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