Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: [1]  Send TopicPrint
Hot Topic (More than 8 Replies) No autofillin (Read 6102 times)
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
No autofillin
Nov 21st, 2021 at 11:23am
Print Post  
I want to change the core debug level by just adding the line below to my code, but it causes problems with intellisense. The first solution was to change the core debug level in the visual micro menu from one to another, and then change it again. But now It happens more often. What could I do?

myLogger::instance().begin(Serial, myLogger::Info);
//myLogger::instance().begin(Serial, myLogger::Warning);

This for enable the logging from my library.
« Last Edit: Nov 24th, 2021 at 12:03am by The_Specialist »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Core Debug Level From Code For ESP32
Reply #1 - Nov 21st, 2021 at 6:58pm
Print Post  
Please follow the guide in the yellow box near the top of this page so that we can see the build properties and verbose output.
  
Back to top
WWW  
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Core Debug Level From Code For ESP32
Reply #2 - Nov 21st, 2021 at 10:28pm
Print Post  
Here you can find my log.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Core Debug Level From Code For ESP32
Reply #3 - Nov 22nd, 2021 at 5:47pm
Print Post  
Would it be possible to email us the whole solution so we can investigate this further?
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Core Debug Level From Code For ESP32
Reply #4 - Nov 22nd, 2021 at 10:10pm
Print Post  
I have send you an email.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Core Debug Level From Code For ESP32
Reply #5 - Nov 23rd, 2021 at 1:45pm
Print Post  
Thanks for the files.

Is this related to the AudioLogger functionality?
Code
Select All
AudioLogger::instance().begin(Serial, AudioLogger::Info); 



Does the intellisense improve after performing a build?
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Core Debug Level From Code For ESP32
Reply #6 - Nov 23rd, 2021 at 3:11pm
Print Post  
I am not sure what cause the problem of the autofillin. when I type "player." in the shetch.

It sets the level of loging. The loging can be turned off in audioconfig.h...
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Core Debug Level From Code For ESP32
Reply #7 - Nov 23rd, 2021 at 3:27pm
Print Post  
Sorry, I thought the issue was the intellisense for the logger as reported in the first post? (I only wanted to be sure we were looking at the right element in my previous post)

I don't see an issue with the player. suggestions in this project on my machine in the ino sketch (see image below):


Can you clarify what issue you are having so we can assist more easily, and ideally supply a smaller project which replicates the issue if possible.
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Core Debug Level From Code For ESP32
Reply #8 - Nov 23rd, 2021 at 4:26pm
Print Post  
I am not sure what the issue is and look at all possibilities. You have it like it should be. I missing that....
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Core Debug Level From Code For ESP32
Reply #9 - Nov 23rd, 2021 at 11:37pm
Print Post  
When I open with the version selector I get this message

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Core Debug Level From Code For ESP32
Reply #10 - Nov 23rd, 2021 at 11:46pm
Print Post  
That was because I opened twice. Sorry
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: Core Debug Level From Code For ESP32
Reply #11 - Nov 23rd, 2021 at 11:50pm
Print Post  
I am only getting this when I fillin player. after the point I get nothing anymore. It hapens only where I use that library. With other librarys I don't have that issue. It doesn't matter if I make a new solution. The problem remains. I have now update vs, visual micro, github still the same issue. I went over all the settings of intellisense but noting helps.

« Last Edit: Nov 24th, 2021 at 7:37am by The_Specialist »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #12 - Nov 24th, 2021 at 7:04am
Print Post  
With some of the projects this is shown in my solution output

error : Designtime build failed for project 'E:\Documents\Visual Studio ' configuration 'Debug|Win32'. IntelliSense might be unavailable.
     Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.

But I cann't find that setting... please help
« Last Edit: Nov 24th, 2021 at 7:06am by The_Specialist »  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #13 - Nov 24th, 2021 at 7:12am
Print Post  
I am now repairing the installation. Hoop this helps...

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #14 - Nov 24th, 2021 at 7:43am
Print Post  
I am now unistalling it because I got an error by repairing it. Undecided
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #15 - Nov 24th, 2021 at 8:37am
Print Post  
I don't get visual micro to install??
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #16 - Nov 24th, 2021 at 8:48am
Print Post  
I have downloaded from this location

https://www.visualmicro.com/forums/YaBB.pl?num=1637666639
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #17 - Nov 24th, 2021 at 8:56am
Print Post  
All I did. it doesn't help.

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #18 - Nov 24th, 2021 at 9:34am
Print Post  
hmm, I found the issue in the audiotools.h file

I have command the namespace and now it's working.



« Last Edit: Nov 24th, 2021 at 12:03pm by The_Specialist »  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #19 - Nov 24th, 2021 at 9:35am
Print Post  
Strang engough the win32 is defined...
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: No autofillin
Reply #20 - Nov 24th, 2021 at 11:24am
Print Post  
The namespace shouldn't need removing as in the top of your INO you have "using namespace audio_tools;".

_Win32 is defined due to this being in windows, and if needed you can add #undef _WIN32 before the library header include.

Also the intellisense looked correct in your earlier image (below again) and if you add the "." to the end it would have shown the members of the Audio Tools object.

From what I can see there is no issue with Visual Micro here.

  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #21 - Nov 24th, 2021 at 12:05pm
Print Post  
The problem returns again. And the definition of win32 could not be located.


  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 227
Joined: Jul 1st, 2020
Re: No autofillin
Reply #22 - Nov 24th, 2021 at 1:01pm
Print Post  
Thanks for the win32, diden't know how to solve that. 

I have replaced this

namespace audio_tools {

...

}

with using namespace and now it seems to work.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 
Send TopicPrint