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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to get visual studio to debug child UE4Editor.exe

When debugging UE4 in VS, after I select my project, the current instance of the editor spawns another, and then shuts down. How do I get VS to continue debugging the spawned process?

Product Version: Not Selected
Tags:
more ▼

asked Mar 20 '14 at 01:10 AM in C++ Programming

avatar image

MMavipc
3 2 6 4

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

2 answers: sort voted first

You'll need to reattach visual studio; Debug > Attach To Process

more ▼

answered Mar 20 '14 at 01:12 AM

avatar image

Nick Darnell ♦♦ STAFF
6k 77 37 151

avatar image MMavipc Mar 20 '14 at 01:17 AM

That's a less-than-ideal solution because the startup of the new process is not contained in the debugger, but if it's the only one we've got I guess we're stuck with it.

avatar image Jamie Dale STAFF Mar 23 '14 at 12:29 AM

You can set the full path to your .uproject file on the debugging command line option inside Visual Studio (eg, C:\MyProject\MyProject.uproject). That way the editor will launch and immediately load your project without requiring you to re-attach to it.

avatar image twiddle Mar 23 '14 at 12:34 AM

You shouldn't even need to give the full path, just the name of the project, if it's inside the default Unreal Projects folder.

avatar image Jamie Dale STAFF Mar 23 '14 at 12:58 AM

Nice :)

I knew that worked for the paths we use internally, but I wasn't sure what other paths it was supported for. Handy to know.

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

Head to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options, and make a new key called UE4Editor.exe

In that key, make a new string value called debugger and set it's value to vsjitdebugger.exe The JIT popup will not contain the already open instance of VS, so you need to attach from inside of VS, and then hit no on the JIT prompt

more ▼

answered Mar 20 '14 at 01:20 AM

avatar image

MMavipc
3 2 6 4

(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