Don’t print, Go debug!
彭俐客 DON’T PRINT, GO DEBUG! How to print? How to print? plan plan 1 First steps plan 1 2 First steps Run to cursor plan 1 2 3 First steps Run to cursor Don’t debug. Print! plan 1 2 4 First steps Run to cursor Don’t debug. Print! Attach to process plan 1 2 3 4 5 First steps Run to cursor Don’t debug. Print! Attach to process Debug Goroutines plan Superpower! 1 2 cursor Don’t debug. Print! Attach to process Debug Goroutines plan Superpower! 1 2 3 4 5 6 First steps Run to cursor Don’t debug. Print! Attach to process Debug Goroutines Debug! What’s instead0 码力 | 36 页 | 1.15 MB | 1 年前3跨平台桌⾯应⽤框架:Electron
**/{appveyor.yml,.travis.yml,circle.yml}",, "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}" "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}",, yml}" "!**/{appveyor.yml,.travis.yml,circle.yml}",, "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}" "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}",, 是从官⽹ Application **/{appveyor.yml,.travis.yml,circle.yml}",, "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}" "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}",,0 码力 | 123 页 | 21.81 MB | 1 年前3The Zig Programming Language 0.6.0 Documentation
that you want to emit. For that you can use a simpler API: hello.zig const warn = @import("std").debug.warn; pub fn main() void { warn("Hello, world!\n", .{}); } $ zig build-exe hello.zig $ ./hello also: Values @import Errors Root Source File Comments comments.zig const assert = @import("std").debug.assert; test "comments" { // Comments in Zig start with "//" and end at the next LF byte Top-level declarations are order-independent: const warn = std.debug.warn; const std = @import("std"); const os = std.os; const assert = std.debug.assert; pub fn main() void { // integers const one_plus_one:0 码力 | 214 页 | 5.37 MB | 1 年前3The Zig Programming Language 0.5.0 Documentation
@TagType @This @truncate @Type @typeId @typeInfo @typeName @typeOf @unionInit @Vector Build Mode Debug ReleaseFast ReleaseSafe ReleaseSmall Single Threaded Builds Undefined Behavior Reaching Unreachable that you want to emit. For that you can use a simpler API: hello.zig const warn = @import("std").debug.warn; pub fn main() void { warn("Hello, world!\n"); } $ zig build-exe hello.zig $ ./hello Hello also: Values @import Errors Root Source File Comments comments.zig const assert = @import("std").debug.assert; test "comments" { // Comments in Zig start with "//" and end at the next LF byte (end0 码力 | 224 页 | 5.80 MB | 1 年前3The Zig Programming Language 0.4.0 Documentation
@subWithOverflow @tagName @TagType @This @truncate @typeId @typeInfo @typeName @typeOf @Vector Build Mode Debug ReleaseFast ReleaseSafe ReleaseSmall Single Threaded Builds Undefined Behavior Reaching Unreachable that you want to emit. For that you can use a simpler API: hello.zig const warn = @import("std").debug.warn; pub fn main() void { warn("Hello, world!\n"); } $ zig build-exe hello.zig $ ./hello Hello also: Values @import Errors Root Source File Comments comments.zig const assert = @import("std").debug.assert; test "comments" { // Comments in Zig start with "//" and end at the next LF byte (end0 码力 | 207 页 | 5.29 MB | 1 年前3The Zig Programming Language 0.3.0 Documentation
that you want to emit. For that you can use a simpler API: hello.zig const warn = @import("std").debug.warn; pub fn main() void { warn("Hello, world!\n"); } $ zig build-exe hello.zig $ ./hello Hello also: Values @import Errors Root Source File Comments comments.zig const assert = @import("std").debug.assert; test "comments" { // Comments in Zig start with "//" and end at the next LF byte (end comment. Values values.zig const std = @import("std"); const warn = std.debug.warn; const os = std.os; const assert = std.debug.assert; pub fn main() void { // integers const one_plus_one: i320 码力 | 175 页 | 4.08 MB | 1 年前3Conan 1.42 Documentation
options, e.g. shared=True [-s: = ] # Specify settings, e.g. build_ ˓→type=Debug # is optional: if not␣ ˓→specified, the option/setting # applies to all dependencies with all # options and settings coming from your default profile $ conan install . -o pkg_name:use_debug_mode=on -s compiler=clang # As above, but␣ ˓→override one option and one # setting See conan install example shared=True. [-s : = ] # Specify settings,␣ ˓→for example build_type=Debug. # If is␣ ˓→not specified, the option and # setting applies to␣ ˓→all dependencies. 0 码力 | 841 页 | 7.12 MB | 1 年前3Cilium v1.5 Documentation
template: spec: containers: - name: cilium-agent args: - "--debug=$(CILIUM_DEBUG)" - "--kvstore=etcd" - "--kvstore-opt=etcd.config=/var/lib/etcd-config/etcd that are passed to the cilium-agent, such as the kvstore endpoint and creden�als, enabling/disabling debug mode, etc. ServiceAccount , ClusterRole , and ClusterRoleBindings resources: the iden�ty and permissions there are several op�ons that can be configured according to your preferences: debug - Sets to run Cilium in full debug mode, which enables verbose logging and configures BPF programs to emit more visibility0 码力 | 740 页 | 12.52 MB | 1 年前3The Zig Programming Language 0.2.0 Documentation
that you want to emit. For that you can use a simpler API: hello.zig const warn = @import("std").debug.warn; pub fn main() void { warn("Hello, world!\n"); } $ zig build-exe hello.zig $ ./hello Hello Source File Values values.zig const std = @import("std"); const warn = std.debug.warn; const os = std.os; const assert = std.debug.assert; pub fn main() void { // integers const one_plus_one: i32 immediate scope See also: Nullables this String Literals test.zig const assert = @import("std").debug.assert; const mem = @import("std").mem; test "string literals" { // In Zig a string literal is0 码力 | 117 页 | 2.84 MB | 1 年前3Cilium v1.6 Documentation
are passed to the cilium-agent, such as the kvstore endpoint and credentials, enabling/disabling debug mode, etc. ServiceAccount, ClusterRole, and ClusterRoleBindings resources: the identity and permissions there are several options that can be configured according to your preferences: debug - Sets to run Cilium in full debug mode, which enables verbose logging and configures BPF programs to emit more visibility cert-file: '/var/lib/etcd-secrets/etcd-client.crt' # If you want to run cilium in debug mode change this value to true debug: "false" enable-ipv4: "true" # If you want to clean cilium state; change this0 码力 | 734 页 | 11.45 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100