我們是否在Unix/Linux中有類似DebugBreak的Windows API。我想調試一個守護進程,它應該在DebugBreak語句執行時打開NetBeans。提前致謝。Unix/Linux中的DebugBreak?
4
A
回答
-1
5
還有__builtin_trap()
GCC內在。
相關問題
- 1. DebugBreak不打破
- 2. DebugBreak()等效於C#
- 3. 獲得的DebugBreak用Fortran
- 4. 如何在C#中使用debugbreak()?
- 5. 如何安裝DebugBreak處理程序?
- 6. Xcode相當於'__asm int 3/DebugBreak()/ Halt?
- 7. 爲什麼我的服務在Vista上DebugBreak()崩潰?
- 8. DebugBreak的行爲在非託管和混合(非託管+託管)應用程序之間有所不同?
- 9. 解釋斷言宏
- 10. 如何在不包含Windows.h的情況下獲取IsDebuggerPresent的聲明?
- 11. 在Windows Vista/Visual Studio 2005中的應用程序崩潰彈出窗口中沒有針對JIT調試器的調試選項
- 12. 託管系統::診斷::調試器::啓動功能的非託管/本機替代?
- 13. 刪除ptr解決了訪問衝突異常寫入0
- 14. 調試DLLRegisterServer
- 15. mongod崩潰(終止於信號5)
- 16. GridView_RowEditing中的GridView中的EditItemTemplate中的DropDownList
- 17. Bootstrap中的一列中的中心div
- 18. WinForms中的C#中的OpenGL
- 19. iOS中的UITableViewCell中的UITableView
- 20. Arduino中的類中的Serial.println
- 21. ASPview中的UpdatePanel中的Treeview
- 22. Xamarin.Forms中的StreamWriter中的ArgumentException
- 23. ui中的DataTable中的selectBooleanCheckbox:repeat
- 24. TabViewController中的NavigationController中的PageViewController
- 25. Android中的Activitygroup中的AutoCompletetextView
- 26. Repeater中的ItemDataBound中的Xpath
- 27. JavaScript中的HAML中的Javascript
- 28. WPF中的TreeView中的DataGrid
- 29. Delphi中的DBGridEh中的TabOrder
- 30. 用C語言解析json與YAJL
Whav看看!這就是我要尋找http://mainisusuallyafunction.blogspot.in/2012/01/embedding-gdb-breakpoints-in-c-source.html並獲得樣本程序必須到https一看:// github上。 com/kmcallister/embedded-breakpoints – Viswesn
這會導致SIGILL(非法指令)被點擊時,並隨後終止程序。至少對於我來說。使用'raise(SIGTRAP)'工作。 – Calmarius