ianlancetaylor / libbacktrace

A C library that may be linked into a C/C++ program to produce symbolic backtraces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows: No such file or directory when running app instead of app.exe

tehKaiN opened this issue · comments

commented

If I type in cmd app then backtrace doesn't work since there is no app file. If I run app.exe everything works fine. Is this a bug or feature?

There could be a windows-only code which would check if passed filename is without extension, and if so it would try attaching ".exe".

Also, I'm willing to implement it :)

Yes, on Windows the code should certainly try appending ".exe" to argv[0].