I would also like to suggest sublime, it's pretty easy to learn and use.

Best,
Aakash

On Sat, 24 Apr, 2021, 5:57 pm , <mlpack-requ...@lists.mlpack.org> wrote:

> Send mlpack mailing list submissions to
>         mlpack@lists.mlpack.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
> or, via email, send a message with subject or body 'help' to
>         mlpack-requ...@lists.mlpack.org
>
> You can reach the person managing the list at
>         mlpack-ow...@lists.mlpack.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mlpack digest..."
> Today's Topics:
>
>    1. Re: Issue with debugging (Ryan Curtin)
>    2. Re: Issue with debugging (Gopi Manohar Tatiraju)
>    3. Re: Issue with debugging (Omar Shrit)
>    4. Re: Issue with debugging (Gopi Manohar Tatiraju)
>
>
>
> ---------- Forwarded message ----------
> From: Ryan Curtin <r...@ratml.org>
> To: Gopi Manohar Tatiraju <deathcod...@gmail.com>
> Cc: mlpack@lists.mlpack.org
> Bcc:
> Date: Fri, 23 Apr 2021 19:33:48 -0400
> Subject: Re: [mlpack] Issue with debugging
> On Tue, Apr 20, 2021 at 10:59:57AM +0530, Gopi Manohar Tatiraju wrote:
> > 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'm not an expert at Visual Studio, but is it possible that the function
> `mlpack::data::Load()` is actually compiled inside of mlpack.dll, and
> there are no debugging symbols available?
>
> You might be able to fix this by recompiling mlpack with debugging
> symbols.  But, I don't know exactly how to do this with Visual Studio.
>
> --
> Ryan Curtin    | "Excuse me.  I don't mean to impose, but I am the
> r...@ratml.org | Ocean."  - Bobby
>
>
>
>
> ---------- Forwarded message ----------
> From: Gopi Manohar Tatiraju <deathcod...@gmail.com>
> To: Ryan Curtin <r...@ratml.org>
> Cc: mlpack@lists.mlpack.org
> Bcc:
> Date: Sat, 24 Apr 2021 15:34:06 +0530
> Subject: Re: [mlpack] Issue with debugging
> Hey Ryan,
>
> Thank you for the reply.
>
> Actually, I am facing soo many issues with Ubuntu 20.04 and also with
> Visual Studio Code.
> And for some reason, Ubuntu 20.04 is very buggy and laggy. Working 2 VS
> code windows with
> chrome active is nearly impossible.
> I am planning to set up my dev environment properly. If you don't mind me
> asking,
> what is your dev environment. Which OS and IDE do you use?
>
> My laptop config is:
> Processor: i7-7700HQ
> RAM: 8GB
> GPU: GTX 1050Ti
>
> I've used Ubuntu since 16.04 and I am pretty comfortable with it to work
> around.
> I don't mind changing it for good reasons.
>
> If you get time, please let me know your thoughts.
>
> Regards
> Gopi
>
> On Sat, Apr 24, 2021 at 5:03 AM Ryan Curtin <r...@ratml.org> wrote:
>
>> On Tue, Apr 20, 2021 at 10:59:57AM +0530, Gopi Manohar Tatiraju wrote:
>> > 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'm not an expert at Visual Studio, but is it possible that the function
>> `mlpack::data::Load()` is actually compiled inside of mlpack.dll, and
>> there are no debugging symbols available?
>>
>> You might be able to fix this by recompiling mlpack with debugging
>> symbols.  But, I don't know exactly how to do this with Visual Studio.
>>
>> --
>> Ryan Curtin    | "Excuse me.  I don't mean to impose, but I am the
>> r...@ratml.org | Ocean."  - Bobby
>>
>
>
>
> ---------- Forwarded message ----------
> From: Omar Shrit <o...@shrit.me>
> To: Gopi Manohar Tatiraju <deathcod...@gmail.com>
> Cc: Ryan Curtin <r...@ratml.org>, mlpack@lists.mlpack.org
> Bcc:
> Date: Sat, 24 Apr 2021 14:12:28 +0200
> Subject: Re: [mlpack] Issue with debugging
> Hello Gopi,
>
> I think, most if not all of Linux users would use a text editor such as
> Emacs or Vim. I personally use Kakoune which is inspired by Vim.
>
> All of these editors would need a good amount of time
> to learn them and a considerable amount of time to master them.
>
> In addition, all of them can be extended using plugins.
>
> Considering compilation and debugging. We use directly on gcc/g++ and
> gdb for debugging. In the case of mlpack, you have CMake ready of you.
>
> For the OS, any Linux distros can have all of above editors and
> compilers.
>
> Therefore, there is no need for IDE.
>
> Best,
> Omar
>
> On 04/24, Gopi Manohar Tatiraju wrote:
> > Hey Ryan,
> >
> > Thank you for the reply.
> >
> > Actually, I am facing soo many issues with Ubuntu 20.04 and also with
> > Visual Studio Code.
> > And for some reason, Ubuntu 20.04 is very buggy and laggy. Working 2 VS
> > code windows with
> > chrome active is nearly impossible.
> > I am planning to set up my dev environment properly. If you don't mind me
> > asking,
> > what is your dev environment. Which OS and IDE do you use?
> >
> > My laptop config is:
> > Processor: i7-7700HQ
> > RAM: 8GB
> > GPU: GTX 1050Ti
> >
> > I've used Ubuntu since 16.04 and I am pretty comfortable with it to work
> > around.
> > I don't mind changing it for good reasons.
> >
> > If you get time, please let me know your thoughts.
> >
> > Regards
> > Gopi
> >
> > On Sat, Apr 24, 2021 at 5:03 AM Ryan Curtin <r...@ratml.org> wrote:
> >
> > > On Tue, Apr 20, 2021 at 10:59:57AM +0530, Gopi Manohar Tatiraju wrote:
> > > > 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'm not an expert at Visual Studio, but is it possible that the
> function
> > > `mlpack::data::Load()` is actually compiled inside of mlpack.dll, and
> > > there are no debugging symbols available?
> > >
> > > You might be able to fix this by recompiling mlpack with debugging
> > > symbols.  But, I don't know exactly how to do this with Visual Studio.
> > >
> > > --
> > > Ryan Curtin    | "Excuse me.  I don't mean to impose, but I am the
> > > r...@ratml.org | Ocean."  - Bobby
> > >
>
> > _______________________________________________
> > mlpack mailing list
> > mlpack@lists.mlpack.org
> > http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
>
>
>
>
> ---------- Forwarded message ----------
> From: Gopi Manohar Tatiraju <deathcod...@gmail.com>
> To: Omar Shrit <o...@shrit.me>
> Cc: mlpack@lists.mlpack.org
> Bcc:
> Date: Sat, 24 Apr 2021 17:54:15 +0530
> Subject: Re: [mlpack] Issue with debugging
> Hey Omar,
>
> Thank you.
> I will start learning vim or Emacs and will also adapt other suggestions
> in my work environment.
>
> Regards
> Gopi
>
>
> On Sat, Apr 24, 2021, 17:42 Omar Shrit <o...@shrit.me> wrote:
>
>> Hello Gopi,
>>
>> I think, most if not all of Linux users would use a text editor such as
>> Emacs or Vim. I personally use Kakoune which is inspired by Vim.
>>
>> All of these editors would need a good amount of time
>> to learn them and a considerable amount of time to master them.
>>
>> In addition, all of them can be extended using plugins.
>>
>> Considering compilation and debugging. We use directly on gcc/g++ and
>> gdb for debugging. In the case of mlpack, you have CMake ready of you.
>>
>> For the OS, any Linux distros can have all of above editors and
>> compilers.
>>
>> Therefore, there is no need for IDE.
>>
>> Best,
>> Omar
>>
>> On 04/24, Gopi Manohar Tatiraju wrote:
>> > Hey Ryan,
>> >
>> > Thank you for the reply.
>> >
>> > Actually, I am facing soo many issues with Ubuntu 20.04 and also with
>> > Visual Studio Code.
>> > And for some reason, Ubuntu 20.04 is very buggy and laggy. Working 2 VS
>> > code windows with
>> > chrome active is nearly impossible.
>> > I am planning to set up my dev environment properly. If you don't mind
>> me
>> > asking,
>> > what is your dev environment. Which OS and IDE do you use?
>> >
>> > My laptop config is:
>> > Processor: i7-7700HQ
>> > RAM: 8GB
>> > GPU: GTX 1050Ti
>> >
>> > I've used Ubuntu since 16.04 and I am pretty comfortable with it to work
>> > around.
>> > I don't mind changing it for good reasons.
>> >
>> > If you get time, please let me know your thoughts.
>> >
>> > Regards
>> > Gopi
>> >
>> > On Sat, Apr 24, 2021 at 5:03 AM Ryan Curtin <r...@ratml.org> wrote:
>> >
>> > > On Tue, Apr 20, 2021 at 10:59:57AM +0530, Gopi Manohar Tatiraju wrote:
>> > > > 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'm not an expert at Visual Studio, but is it possible that the
>> function
>> > > `mlpack::data::Load()` is actually compiled inside of mlpack.dll, and
>> > > there are no debugging symbols available?
>> > >
>> > > You might be able to fix this by recompiling mlpack with debugging
>> > > symbols.  But, I don't know exactly how to do this with Visual Studio.
>> > >
>> > > --
>> > > Ryan Curtin    | "Excuse me.  I don't mean to impose, but I am the
>> > > r...@ratml.org | Ocean."  - Bobby
>> > >
>>
>> > _______________________________________________
>> > mlpack mailing list
>> > mlpack@lists.mlpack.org
>> > http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
>>
>> _______________________________________________
> mlpack mailing list
> mlpack@lists.mlpack.org
> http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
>
_______________________________________________
mlpack mailing list
mlpack@lists.mlpack.org
http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack

Reply via email to