New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracing (FileTrace, DebugTrace) doesn't work #886
Comments
The trace options no longer log to the kernel debug output but instead to the resource access log of sandboxie, You can adjust the buffer size in the sandboxie.ini adding |
Thank you. Also, there is the issue with the Trace Logger panel that you can't scroll or select entries once you stop the logging. So if a program generates thousands of entries and you've found the one you want already, it becomes difficult to stop new entries without killing that process. Maybe it would be possible to add an export button that saves the entries to a file when the panel is disabled? In that case you would enable logging, do the action you want with that process, disable logging and export to investigate using a text editor. Again, thank you for your time. |
You add the TraceSomething=* directive only to one box ini section instead of adding it globally I'll keep the panel always enabled even when the logging is stopped thats an easy fix |
I'm sorry but no, the logging panel currently collects all boxes and all types of logging whether you add the |
I think i know what your issue is, So what you want is an option to eider disable any logging for other boxes or to show only entries belonging to the currently sellected box? |
Yes, a way to filter the resource monitor logs by box and type of resource. |
the next build will have an sbie option not sure about adding the box filter as I'm worried that resolving pid -> box for each and every of hundreds of zillions of log entries may be bad for the performance |
PS i think I'l rename the option to DisableResourceMonitor=y just FYI |
ok it does not seam to be to performance degrading the next build wil have a check box to show trace entries only for the currently sellected box |
That would solve my issue. Thank you so much. 😄 |
Describe the bug
Sysinternals' DebugView doesn't show file access (nor key, ipc...).
The resource monitor(?) "Trace Log" panel works if you enable "Trace Logging" (Sandboxie-Plus) but it works on all Sandboxes and ignores the options like
FileTrace=*
. (Also, it buffer overflows very fast if you have many Sandboxes running...)To Reproduce
Sandbox Options > Advanced Options > Tracing
exceptAPI Call Trace
echo test > C:\test.txt
and check it was writtenmore C:\test.txt
Expected behavior
Expected to see the same messages that appear in the "Trace Log" panel when it is activated but the messages should only be for the selected Sandbox and options (unlike Trace Log which ignores options and sandboxes).
Screenshots
The debug messages that show up:
The dbgview64.exe options:
If you instead enable Trace Logging it shows the messages (but never in dbgview64.exe):
System details and installed software (please provide the following information):
Additional context
I understand that the log can be acquired from the Trace Logging panel as I said, but unless I'm missing something obvious, the Trace Logging cannot be used for just one Sandbox which limits its usefulness for my case since I'd have to terminate all other sandboxes to be able to debug a new one.
Sandboxie configuration
Sandboxie.ini settings
Thank you so much for taking the time to read my bug report!
The text was updated successfully, but these errors were encountered: