Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Code completion acts as if the current DEBUG always is undefined.
In the following code typing "Console." only initiate the correct code completion for the second(!DEBUG) condition.
Console.WriteLine(); //Never code completes either in Debug or Release
Console.WriteLine(); //Always code completes
This behavior is the same whether I am in the Release or Debug mode.
I expected that changing to Debug mode would make the first part, in the #if DEBUG section, to code complete.
Installation UUID: 73a4bf08-b840-4d16-8615-5a09b9a8b2e9
Mono 18.104.22.168 (Debian 22.214.171.124-1ubuntu2.2) (64-bit)
Git revision: e91815bad0d6504535a7ef4aeea1ced80239532e
Build date: 2012-08-06 12:08:23+0000
Linux purple 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Are you certain that the DEBUG symbol is defined in your Debug configuration?
Yes, I updated the test code:
And it prints DEBUG when running.
It was written inside a newly created project so if DEBUG was not defined it would have been another bug.
fixed that one.