# How to debug an aspect with EBuild?

**URL:** https://talk.remobjects.com/t/how-to-debug-an-aspect-with-ebuild/17189
**Category:** Oxygene
**Created:** [August 14, 2018, 8:47am UTC](https://talk.remobjects.com/t/how-to-debug-an-aspect-with-ebuild/17189 "2018-08-14T08:47:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [August 14, 2018, 8:47am UTC](https://talk.remobjects.com/t/how-to-debug-an-aspect-with-ebuild/17189/1 "2018-08-14T08:47:52Z")

</div>

With MSBuild, I could attach the process to all MSBuild instances.  
How do I do this with EBuild?

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [August 14, 2018, 11:22am UTC](https://talk.remobjects.com/t/how-to-debug-an-aspect-with-ebuild/17189/2 "2018-08-14T11:22:39Z")

</div>

I’m not familiar with the process, but I’d expect the same, but attach to EBuild.exe, instead of MSBuild.exe?

---

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [August 14, 2018, 12:21pm UTC](https://talk.remobjects.com/t/how-to-debug-an-aspect-with-ebuild/17189/3 "2018-08-14T12:21:22Z")

</div>

That’s what I thought, but EBuild is not in the process list.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [August 15, 2018, 4:25pm UTC](https://talk.remobjects.com/t/how-to-debug-an-aspect-with-ebuild/17189/4 "2018-08-15T16:25:49Z")

</div>

Hmm, actually, this is VS, right? so this should still all be hosted in the MSBuild process…

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [August 15, 2018, 9:09pm UTC](https://talk.remobjects.com/t/how-to-debug-an-aspect-with-ebuild/17189/5 "2018-08-15T21:09:13Z")

</div>

In this Friday’s bet build of Water, you can also set the (undocumented, and not exposed in the UI) “RunBuildsInDebugger” registry flag (in `HKCU\Software\RemObjects\Elements\Water`, where all the other flags are too), and when you then hit “Build” in Water, the actual build will run in a debug session, and will stop on exceptions and on breakpoints you may have set (if the Aspect is part of the open SLN, or by setting them via Filename/Linenumber).
