vadimcn / codelldb

A native debugger extension for VSCode based on LLDB
https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
MIT License
2.58k stars 246 forks source link

Open core dump in mac using vscode-lldb #24

Closed NumberX closed 7 years ago

NumberX commented 7 years ago

We would like to use vscode-lldb for opening a core dump c++ in Mac ,can we do it using vscode-lldb. Can you give me your email. best regards

vadimcn commented 7 years ago

Hi,

Yes, you can use this launch configuration:

{
    "type": "lldb",
    "request": "custom",
    "name": "Open a core dump",
    "initCommands": [
        "target create -c <path to core file>"
    ]
}
NumberX commented 7 years ago

Thanks too much. I gonna implement un project like voltron in c++ and electron ,but i would like you b my mentor.

2017-03-17 16:50 GMT+00:00 Vadim Chugunov notifications@github.com:

Hi,

Yes, you can use this launch configuration:

{ "type": "lldb", "request": "custom", "name": "Open a core dump", "initCommands": [ "target create -c " ] },

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vadimcn/vscode-lldb/issues/24#issuecomment-287409381, or mute the thread https://github.com/notifications/unsubscribe-auth/AT_EGspUx9oWqgoIXizd0i86f51k8bvCks5rmrnpgaJpZM4Mgchi .

vadimcn commented 7 years ago

I'm not an Electron expert, but I could advise you about LLDB quirks.

But doesn't VS Code already cover most of Voltron's UI?

NumberX commented 7 years ago

Hello Sir Vadim,

Voltron is an extensible debugger UI,Voltron covers various debuggers (LLDB, GDB, VDB and WinDbg) ,and views are provided for:

I would like to use Vs code but that’s the first time I am gonna use it, I need help form you.

Let talk about project I would like to build a debugger like Voltron and visual studio, I am gonna share with you my knowledge in node add-on ,and you LLDB for obtain this goals.

https://github.com/snare/voltron

2017-03-17 18:11 GMT+00:00 Vadim Chugunov notifications@github.com:

I'm not an Electron expert, but I could advise you about LLDB quirks.

But doesn't VS Code already cover most of Voltron's UI?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vadimcn/vscode-lldb/issues/24#issuecomment-287430855, or mute the thread https://github.com/notifications/unsubscribe-auth/AT_EGlN-n_yt0ibmKMg5O8LY0-SjDjZ9ks5rmsy7gaJpZM4Mgchi .

NumberX commented 7 years ago

Your Vscode is very good,i have one more question how we can add path of symbole file and i would like to view assembly code.

You are the best.

vadimcn commented 7 years ago

how we can add path of symbole file

target symbols add?

If you are new to LLDB, I would recommend bookmarking these two pages (tutorial, commands). Also, apropos <keyword> is very useful for finding relevant commands.

i would like to view assembly code.

Disassembly View