Re: [lldb-dev] lldb versus visual studio

2021-03-22 Thread Franz Fehringer via lldb-dev

Thx again


Am 22.03.2021 um 21:55 schrieb Ted Woodward:

There was. Almost nobody used it. Nobody maintained it.


-Original Message-
From: lldb-dev  On Behalf Of Franz
Fehringer via lldb-dev
Sent: Monday, March 22, 2021 2:28 PM
To: lldb-dev@lists.llvm.org
Subject: [EXT] Re: [lldb-dev] lldb versus visual studio

Thank you very much, this essentially meets my expectations (no eclipse
debugging with Windows/VC++), i am a little surprised that there is no
working lldb integration for eclipse, is this really the whole truth (or did i
misunderstand)?


Am 22.03.2021 um 19:28 schrieb Greg Clayton:

On Mar 20, 2021, at 8:57 AM, Franz Fehringer via lldb-dev 
d...@lists.llvm.org> wrote:

Dear lldb-dev community,

First a disclaimer: If my question is inappropriate for this (developer) list

please ignore or guide me to a more appropriate list (it is possibly more of an
end user question).

Is it possible to debug Visual Studio generated (with pdb debug info)

executables (2017 or 2019, C++ only)  with lldb?

LLDB does have PDB parsing abilities, though I am unsure how well they

work out of the box with no extra configuration. There are two PDB parsers
in LLDB at the moment, one that uses a DLL from Visual Studio that knows
how to parse a PDB file, and one that tries to parse the PDB file manually. So
if you are natively on windows, I believe you might need to set run the batch
file that sets up environment variables for finding these DLLs. The native PDB
parser should work, but I am not sure if the native version always takes
precedence when running on the Windows OS.

Maybe someone that did the PDB integration could chime in?



And if so is there a full integration into eclipse so i can debug Visual Studio

generated executable with eclipse?

The only integration that I am aware of was one that used lldb-mi, or the

GDB remote machine interface. But the lldb-mi was dropped from the top of
tree LLDB a while ago because it was not tested and was bit rotting.

We do have a lldb-vscode binary that implements the Microsoft Visual

Studio Code DAP (Debug Adaptor Protocol). If there are any Eclipse plug-ins
that integrated with the VS Code DAP plug-ins, that would be the option I
would suggest looking into. Is using Visual Studio Code an option, or only
Eclipse?

The platform in question is Microsoft Windows 10 (recent versions).

Thx in advance

Franz

___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] lldb versus visual studio

2021-03-22 Thread Ted Woodward via lldb-dev
There was. Almost nobody used it. Nobody maintained it.

> -Original Message-
> From: lldb-dev  On Behalf Of Franz
> Fehringer via lldb-dev
> Sent: Monday, March 22, 2021 2:28 PM
> To: lldb-dev@lists.llvm.org
> Subject: [EXT] Re: [lldb-dev] lldb versus visual studio
>
> Thank you very much, this essentially meets my expectations (no eclipse
> debugging with Windows/VC++), i am a little surprised that there is no
> working lldb integration for eclipse, is this really the whole truth (or did i
> misunderstand)?
>
>
> Am 22.03.2021 um 19:28 schrieb Greg Clayton:
> >
> >> On Mar 20, 2021, at 8:57 AM, Franz Fehringer via lldb-dev  d...@lists.llvm.org> wrote:
> >>
> >> Dear lldb-dev community,
> >>
> >> First a disclaimer: If my question is inappropriate for this (developer) 
> >> list
> please ignore or guide me to a more appropriate list (it is possibly more of 
> an
> end user question).
> >> Is it possible to debug Visual Studio generated (with pdb debug info)
> executables (2017 or 2019, C++ only)  with lldb?
> > LLDB does have PDB parsing abilities, though I am unsure how well they
> work out of the box with no extra configuration. There are two PDB parsers
> in LLDB at the moment, one that uses a DLL from Visual Studio that knows
> how to parse a PDB file, and one that tries to parse the PDB file manually. So
> if you are natively on windows, I believe you might need to set run the batch
> file that sets up environment variables for finding these DLLs. The native PDB
> parser should work, but I am not sure if the native version always takes
> precedence when running on the Windows OS.
> >
> > Maybe someone that did the PDB integration could chime in?
> >
> >
> >> And if so is there a full integration into eclipse so i can debug Visual 
> >> Studio
> generated executable with eclipse?
> > The only integration that I am aware of was one that used lldb-mi, or the
> GDB remote machine interface. But the lldb-mi was dropped from the top of
> tree LLDB a while ago because it was not tested and was bit rotting.
> >
> > We do have a lldb-vscode binary that implements the Microsoft Visual
> Studio Code DAP (Debug Adaptor Protocol). If there are any Eclipse plug-ins
> that integrated with the VS Code DAP plug-ins, that would be the option I
> would suggest looking into. Is using Visual Studio Code an option, or only
> Eclipse?
> >
> >> The platform in question is Microsoft Windows 10 (recent versions).
> >>
> >> Thx in advance
> >>
> >> Franz
> >>
> >> ___
> >> lldb-dev mailing list
> >> lldb-dev@lists.llvm.org
> >> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
> ___
> lldb-dev mailing list
> lldb-dev@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] lldb versus visual studio

2021-03-22 Thread Franz Fehringer via lldb-dev
Thank you very much, this essentially meets my expectations (no eclipse 
debugging with Windows/VC++), i am a little surprised that there is no 
working lldb integration for eclipse, is this really the whole truth (or 
did i misunderstand)?



Am 22.03.2021 um 19:28 schrieb Greg Clayton:



On Mar 20, 2021, at 8:57 AM, Franz Fehringer via lldb-dev 
 wrote:

Dear lldb-dev community,

First a disclaimer: If my question is inappropriate for this (developer) list 
please ignore or guide me to a more appropriate list (it is possibly more of an 
end user question).
Is it possible to debug Visual Studio generated (with pdb debug info) 
executables (2017 or 2019, C++ only)  with lldb?

LLDB does have PDB parsing abilities, though I am unsure how well they work out 
of the box with no extra configuration. There are two PDB parsers in LLDB at 
the moment, one that uses a DLL from Visual Studio that knows how to parse a 
PDB file, and one that tries to parse the PDB file manually. So if you are 
natively on windows, I believe you might need to set run the batch file that 
sets up environment variables for finding these DLLs. The native PDB parser 
should work, but I am not sure if the native version always takes precedence 
when running on the Windows OS.

Maybe someone that did the PDB integration could chime in?



And if so is there a full integration into eclipse so i can debug Visual Studio 
generated executable with eclipse?

The only integration that I am aware of was one that used lldb-mi, or the GDB 
remote machine interface. But the lldb-mi was dropped from the top of tree LLDB 
a while ago because it was not tested and was bit rotting.

We do have a lldb-vscode binary that implements the Microsoft Visual Studio 
Code DAP (Debug Adaptor Protocol). If there are any Eclipse plug-ins that 
integrated with the VS Code DAP plug-ins, that would be the option I would 
suggest looking into. Is using Visual Studio Code an option, or only Eclipse?


The platform in question is Microsoft Windows 10 (recent versions).

Thx in advance

Franz

___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] lldb versus visual studio

2021-03-22 Thread Greg Clayton via lldb-dev


> On Mar 20, 2021, at 8:57 AM, Franz Fehringer via lldb-dev 
>  wrote:
> 
> Dear lldb-dev community,
> 
> First a disclaimer: If my question is inappropriate for this (developer) list 
> please ignore or guide me to a more appropriate list (it is possibly more of 
> an end user question).
> Is it possible to debug Visual Studio generated (with pdb debug info) 
> executables (2017 or 2019, C++ only)  with lldb?

LLDB does have PDB parsing abilities, though I am unsure how well they work out 
of the box with no extra configuration. There are two PDB parsers in LLDB at 
the moment, one that uses a DLL from Visual Studio that knows how to parse a 
PDB file, and one that tries to parse the PDB file manually. So if you are 
natively on windows, I believe you might need to set run the batch file that 
sets up environment variables for finding these DLLs. The native PDB parser 
should work, but I am not sure if the native version always takes precedence 
when running on the Windows OS.

Maybe someone that did the PDB integration could chime in?


> And if so is there a full integration into eclipse so i can debug Visual 
> Studio generated executable with eclipse?

The only integration that I am aware of was one that used lldb-mi, or the GDB 
remote machine interface. But the lldb-mi was dropped from the top of tree LLDB 
a while ago because it was not tested and was bit rotting.

We do have a lldb-vscode binary that implements the Microsoft Visual Studio 
Code DAP (Debug Adaptor Protocol). If there are any Eclipse plug-ins that 
integrated with the VS Code DAP plug-ins, that would be the option I would 
suggest looking into. Is using Visual Studio Code an option, or only Eclipse?

> The platform in question is Microsoft Windows 10 (recent versions).
> 
> Thx in advance
> 
> Franz
> 
> ___
> lldb-dev mailing list
> lldb-dev@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 49678] SymbolFile/DWARF/dwarf5-debug_line-file-index.s crash lldb on arm linux

2021-03-22 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=49678

lab...@google.com changed:

   What|Removed |Added

   Assignee|lldb-dev@lists.llvm.org |lab...@google.com
 CC||lab...@google.com

--- Comment #2 from lab...@google.com ---
I believe 10d54e2f8d will fix this. Or, more like, work around the problem,
since the invalid input should not cause a crash. Lets not close this bug until
we understand what's happening there...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev