Skip to content

How to edit/debug the Stride Engine code? #1116

Answered by tebjan
jasonswearingen asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for starting this discussion, it's definitely asked frequently.

From an engineering standpoint, you shouldn't modify the Stride solution to debug it.

The clean approach is:

  • build Stride locally
  • reference that version in a game project
  • open the game project in a second instance of visual studio

Now you can step into each method with F11 while you are debugging. Visual studio should automatically find the Stride source files.

If you want to hit a specific breakpoint in the Stride solution, start the game without a debugger and attach the visual studio instance with the Stride solution to the running game.

So you need a local build of stride and then you can set the stride version o…

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@najak3d
Comment options

@najak3d
Comment options

@XiaochaoYan
Comment options

Answer selected by tebjan
Comment options

You must be logged in to vote
2 replies
@TheKeyblader
Comment options

@tebjan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tebjan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants