Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.