mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: implement generic break_if_debugger_attached()
This commit is contained in:
parent
13e09c61ef
commit
e9bcd36d5e
@ -123,4 +123,8 @@ fn print_backtrace_skipping_top_frames_linux(skipframes int) bool {
|
||||
}
|
||||
|
||||
fn break_if_debugger_attached() {
|
||||
}
|
||||
unsafe {
|
||||
ptr := &voidptr(0)
|
||||
*ptr = 0
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user