Opened 17 years ago

Closed 17 years ago

Last modified 17 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:
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 by axeld, 17 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by tqh, 17 years ago

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.