Benjamin Moir
Benjamin Moir
I did some cursory searching, and apparently adding `-logFile` (with no file name listed afterwards) will cause Unity to route all logging to `stdout`, so you could potentially retrieve any...
Yeah, you need to create an instance ID yourself if you want to create an object outside of the main thread. I *think* there's a function for that somewhere in...
The `AfterEverythingLoaded` callback might actually be running on the main thread too, so it's worth experimenting with running more code in that. Edit: I tried printing the result of `CurrentThread::IsMainThread`...
Something interesting to note is that using `SymbolResolver.Resolve`/`SymbolResolver.ResolveFunction` within that function can cause a hang. I think the cause is DIA, because if I resolve that symbol in the `Run`...
I just pushed two commits that fix cross-thread usage of `DiaSymbolResolver`, it was actually much simpler than the solution I just proposed above.
> I tried calling `?IsMainThread@CurrentThread@@YA_NXZ` and it returns true when called inside the AfterEverythingLoaded callback and when called from `EntryPoint.Run`, there seems to be something wrong with that call. This...
> > > When using TypeTreeDumper, the editor log doesn't have a stacktrace, while the c++ dumper does. I wonder if there's a way for us to still have a...
```cs public partial class SymbolResolver { public abstract string[] FindSymbolsWithPrefix(string prefix); } ``` I think an API like this would be fine. There can also be a few helper methods...
[Just pushed support for this on master](https://github.com/DaZombieKiller/TypeTreeDumper/commit/ffb7b00d58fdc192dbcc61dcbe9451804733f061). Since DIA supports Regex, I changed the API design a little bit to reflect that. `c_str` can be found with: ```cs resolver.ResolveFirstFunctionMatching(new Regex(@"\?c_str@\?\$basic_string@*"));...
That's strange, I wonder if it's because it's being set to `IpcInterface.Error` which is tied to the server, and thus it can only take certain types. We might have to...