Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1892 closed bug (fixed)

Debugflag in Haiku has opposite default of BeOS

Reported by: tqh Owned by: axeld
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

BeOS has it default to true, Haiku has false.

Changing this to true makes debugging behave as expected: http://haiku.it.su.se:8180/source/xref/src/system/libroot/os/debug.c#190

Also if I understand correctly the DEBUGGER macro in Haiku only takes a string? It crashed inside the debugger call anyway:

From BeBook: "DEBUGGER() takes a printf()-style variable-length argument that must be wrapped inside a second set of parentheses;.."

I suspect those functions needs at least an overview. Should probably be quite easy task.

Change History (2)

comment:1 Changed 11 years ago by axeld

Resolution: fixed
Status: newclosed

Fixed in hrev24243. And the BeBook is just wrong about the DEBUGGER() macro.

comment:2 Changed 11 years ago by tqh

Ah, could have sworn I had used it under R5 to debug.So I looked it up and you are right.

Note: See TracTickets for help on using tickets.