VOGONS


Debugging with Mac

Topic actions

First post, by bzbz

User metadata
Rank Newbie
Rank
Newbie

Hi,

I got my "heavy" debbuging set up and when Dosbox launches I have indeed two windows opened.

It is written here: Guide to the DOSBox debugger:
"To pause the execution and start up the debugger, just press the Alt-Pause-key"

On my Mac book (not Mac book Pro, which keyboard is more complete) it sillyly opens monitor preferences instead... What combination may I use?

Thx.

Reply 1 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

you can change the combination with the keymapper (ctrfl-f1) or directly in the source in debug.cpp :

MAPPER_AddHandler(DEBUG_Enable,MK_pause,MMOD2,"debugger","Debugger");

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 3, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

By times the z:\debug.exe of the debugger-enabled builds is useful (you specify the
application to debug as first parameter), though i rarely use it myself.

Reply 3 of 3, by bzbz

User metadata
Rank Newbie
Rank
Newbie

Thx guyz!

wd: you're right and I eventually used that technic. Bad Stuff: you don't want to forget a break point! 😉

Qbix: ironicaly, Ctrl+F1 doesn't work either...

But changing debug.cpp did it perfectly:

MAPPER_AddHandler(DEBUG_Enable,MK_f3,MMOD2,"debugger","Debugger"); 

And then Alt+F3 does the trick... 😀