This is the Linux app named libinstrumentation whose latest release can be downloaded as libinstrumentation-SDK-win32-2023-02-16.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named libinstrumentation with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
libinstrumentation
Ad
DESCRIPTION
Use libinstrumentation to add stack traces to your code. Usage:
- Add libinstrumentation to your project (details depend on the compiler used)
- Define a list of file numbers in a central location
- Add include: #include "libinstrumentation.h"
- Below the include, add a line like #define FILE_NUMBER FILE_NO_ARCHIVE_ACCESS_CPP
- At the start of a function, add the macro SET_SCOPE;
- Before dangerous/long/critical operations, add a call to SET_OP;
- Replace any return statements with the RETURN macro
- Any time you need a stacktrace, call stGetCurrentThreadStackTrace. This will get you a string composed of pairs a:b, where a is a file number you defined and b is a line number for that file
Please check out the latest version from git and please check the code samples.
Features
- Stacktraces
- Instrumentation
- Portable
This is an application that can also be fetched from https://sourceforge.net/projects/libinstrumentation/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.