How to debug an aspect with EBuild?

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

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

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

1 Like

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

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).

1 Like