Re: [swift-dev] Debugger (lldb or gdb) does not show variable value in swift code

2017-10-12 Thread Sam Ding via swift-dev
)413-2947 From: Alex Blewitt To: Sam Ding Cc: swift-dev Date: 10/07/2017 11:33 AM Subject:Re: [swift-dev] Debugger (lldb or gdb) does not show variable value in swift code Sent by:alb...@apple.com Do you see the same issue if you build from master? Alex

Re: [swift-dev] Debugger (lldb or gdb) does not show variable value in swift code

2017-10-07 Thread Alex Blewitt via swift-dev
Do you see the same issue if you build from master? Alex > On 7 Oct 2017, at 00:30, Sam Ding via swift-dev wrote: > > Hi, > > I build swift compiler (v4.0) with debug mode ("-d"), however when debugging > compiler swift code, it can not > show the variable value. Here is an example: > frame #

[swift-dev] Debugger (lldb or gdb) does not show variable value in swift code

2017-10-06 Thread Sam Ding via swift-dev
Hi, I build swift compiler (v4.0) with debug mode ("-d"), however when debugging compiler swift code, it can not show the variable value. Here is an example: frame #0: 0x7761d50c libswiftCore.so`_allocateUninitializedArray(builtinCount=1) at Arrays.swift:3347