[mlpack] Issue with debugging
Gopi Manohar Tatiraju
deathcoderx at gmail.com
Tue Apr 20 01:29:57 EDT 2021
Hello mlpack,
I use visual studio for mlpack development. I build mlpack and then link it
using task.json and launch.jon files in vscode.
I wrote this simple example:
#include <mlpack/core.hpp>
> #include "armadillo"
> using namespace std;
> int main()
> {
> arma::mat foo;
> mlpack::data::DatasetInfo info;
> mlpack::data::Load("data/data.csv", foo, info, arma::csv_ascii);
> foo.t().raw_print();
> return 0;
> }
When I am putting a breakpoint on *mlpack::data::DatasetInfo info *my
debugger is working fine and stepping into that line but when I am putting
a breakpoint on line *mlpack::data::Load("data/data.csv", foo, info,
arma::csv_ascii)*, it is not stepping into this function but rather
whatever I do it step's over this line.
I don't know if it's an issue with debugger settings or mlpack linking, any
help would be appreciated.
System config
*Procesor:* Intel® Core™ i7-7700HQ CPU
*OS:* Ubuntu 20.04.2 LTS 64-bit
*RAM:* 8 GB
Thank you.
Gopi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20210420/f67f8edf/attachment.htm>
More information about the mlpack
mailing list