When I run my program with aprobe I don get any output even though I know Im executing routines with probes on them and those probes use printf. Whats going on?
First make sure that Aprobe was correctly installed. You can do this by running one of the examples in the Aprobe\examples\… directories. The most common reason you don’t see any output is that standard output from your program is going to the null device. A windows program can be linked for one of several Windows subsystems. If the subsystem is the “Windows GUI subsystem” standard output seems to go elsewhere. You can determine what subsystem your program has been linked for by using QuickView (look for the “subsystem” entry under the “Image Optional Header”). You can still get your output by redirecting it to a file using the -o switch on the Aprobe command.
Related Questions
- When I run my program with aprobe I don get any output even though I know Im executing routines with probes on them and those probes use printf. Whats going on?
- What is going to happen to all of the faculty and staff that were just hired to run the BSN program?
- How can I run Memory Advisor if I am running a program that is using full-screen input and output?