Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

MAPBLOCK macro is difficult to debug #27

Open
mullr opened this issue Jun 14, 2012 · 2 comments
Open

MAPBLOCK macro is difficult to debug #27

mullr opened this issue Jun 14, 2012 · 2 comments

Comments

@mullr
Copy link

mullr commented Jun 14, 2012

The debugger behaves strangely when using the MAPBLOCK macro with defineViewNamed:mapBlock, as might be expected. A somewhat more verbose but still readable and debuggable syntax might be made by using a typedef for the 'emit' block parameter.

@escoz
Copy link

escoz commented Jun 28, 2012

Personally, I would love if that macro was completely removed and simply the block parameters were left in code. AppCode (the editor I use) knows how to read the properties and automatically create the implementation. (XCode might be doing this soon too.).

@mullr
Copy link
Author

mullr commented Jun 29, 2012

Yeah, xcode can do this just fine as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants