I have two programs in abstraction form are:
//test_driver.C"
#include"iostream"
int main()
{
std::cout << "Alarm" << '\n';
}
}
//test_platform.C
#include <iostream>
#include <cstdlib>
int main()
{
std:cout << "Starting test_driver..." << '\n' ;
int result = system("./test_driver");
}
the question is:
how can i set breakpoints to test_driver.C in GDB or netbeans?
Do not make any changes in code not test_driver.C nor test_platform.C.