dotTrace fails to initialize profiler in Windows Docker Container

I've been trying to profile a .NET app running in a Windows docker container. So far I've downloaded and unzipped the dotTrace command line tools inside the container and attempted to trace dottrace.exe itself as a test to see if things were working.  I get an error “Unable to initialize profiler. Cannot get shell folder for 40.”:

As you can see from the image I've downloaded the latest version of the dotTrace command line tools.

The powershell prompt is in the docker container itself, which in turn is running on a Windows host EC2 machine in AWS.  I've connected via AWS's Systems Manager Session for EC2 machines.

Can you help me make sense of this error message please?

0
1 comment

Hi Julian,

Could you please attach the log files:

- Clear the %temp%\JetLogs folder
- Start dotTrace with the following parameters: --log-level=Trace --core-log-mask=Com,Api,Bridge,Snapshot
- Wait for the error
- Open the %temp% folder and search for lgc.*.tmp files. Copy them and send them to us if any exist. Note that the %temp% folder must be owned by the user under which the profiled application is running
- Attach all lgc.*.tmp log files and the logs from the %temp%\JetLogs folder


Additionally, please provide the following information about your use case:

- Which Docker container are you using?
- What OS version is running?

0

Please sign in to leave a comment.