I expect the extension to provide a clear error that the file to profile does not exist.
Actual behavior:
The Austin extension reports "Profiling complete" as if nothing is wrong, per below:
Starting Profiler in /home/russ/code/possm_tools.
Running 'austin' with args '-i 100 --pipe /home/russ/venvs/austin_testing/bin/python /home/russ/code/austin_testing/does_not_exist.py --verbose'.
Profiling complete.
* Terminal will be reused by tasks, press any key to close it.
*
Reproduces how often:
100% of the time.
Additional info
On a path-related note... it would also be nice if the vscode extension docs indicates what paths will be used when austin is run as a task. For example:
1, What path is used for the "file": input in the task? Can expansions like ${workspaceFolder} be used?
What working directory will the process being executed by Austin get?
Description
If you misconfigure an austin vscode task to run a file that does not exist, it seems to work (saying "Profiling complete")... but clearly does not.
Steps to Reproduce
Here is a sample
tasks.json
file that shows the behaviour:Expected behavior:
I expect the extension to provide a clear error that the file to profile does not exist.
Actual behavior:
The Austin extension reports "Profiling complete" as if nothing is wrong, per below:
Reproduces how often:
100% of the time.
Additional info
On a path-related note... it would also be nice if the vscode extension docs indicates what paths will be used when austin is run as a task. For example:
1, What path is used for the
"file":
input in the task? Can expansions like${workspaceFolder}
be used?Versions
austin 3.6.0