1
0
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:
pancake 2020-06-03 14:11:23 +02:00 committed by GitHub
parent 13e09c61ef
commit e9bcd36d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}