Open kg opened 1 month ago
Looking closer, it seems like in 2. it's trying to run a class library instead of the active project that contains the method being disassembled (an exe).
Third failure mode if you unload a project and it tries to run that one anyway:
System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
at EnvDTE.Project.get_FileName()
at Disasmo.MainViewModel.<RunOperationAsync>d__80.MoveNext()
Thanks! Let me take a look, I've seen some of these too
It seems like it may be determined by which project you have selected in Solution Explorer, like by clicking on it
Frequently Disasmo fails to disassemble anything unless Run is checked. That's fine, it's not too hard to check Run.
Unfortunately Run frequently breaks at random in multiple ways:
It will run a random other project in the solution instead of the one containing the method. If that project never terminates, disasmo hangs. For example my solution contains a BDN benchmark suite and then a simple test application that serves as a disassembly harness; disasmo will randomly choose to run the BDN suite and then hang. I have to unload the project and restart VS to fix this once it happens.
Run will randomly fail sometimes with this error:
I have no idea how to work around the second one and I'm not sure why it only happens sometimes.
Thanks for this cool extension!