Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

Xamarin Debugging Question

$
0
0

Hi Xamarin,
I am running into the following issue:
1. Create a new Mac Cocoa app solution named "TestApp1"
2. Add a new Mac Cocoa app project to the solution named "TestApp2".
3. Add a reference from TestApp2 to TestApp1
3. Make TestApp2's "Main" public.
4. Make TestApp1's "Main" call TestApp2's main
5. Put a breakpoint on TestApp2's main.
6. Debug the project.
7. The breakpoint is hit. This is expected.

Now, do the following:
1. Change TestApp2 to have a "Library" compile target.
2. Run the project.
3. The breakpoint is NOT hit. This is not expected.

Now, do the following:
1. Change TestApp2 to have a "Executable" compile target again.
2. Run the project.
3. The breakpoint is NOT hit. This is not expected.

What do I need to do so that my breakpoints get hit?


Viewing all articles
Browse latest Browse all 1429

Trending Articles