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
Normal Topic Atmel ICE debugger: the Breakpoint will not currently be hit (Read 1061 times)
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Atmel ICE debugger: the Breakpoint will not currently be hit
Jul 19th, 2020 at 10:14am
Print Post  
Hi Guys! 

My setup level is:
VS: 16.6.4
vMicro: 2020.708.3

My issue is:
After these both updates (bill gates + vm) now I can't place a new breakpoint on NEWEST function defined. I can place breakpoint only on OLD functions of my project.

My test code
byte e2paddrhigh = 0; // global variable
byte e2paddrlow = 0; // global variable

void eeprom_write_byte_32k(byte deviceaddress, int eeaddress, byte data) {
     // Three lsb of Device address byte are bits 8-10 of eeaddress
     byte devaddr = deviceaddress | ((eeaddress >> 8) & 0x07);
     e2paddrhigh = eeaddress >>8;
     e2ppaddrlow = eeaddress && 0xff;

     //Wire.beginTransmission(devaddr);
     //Wire.write(e2paddrhigh);
     //Wire.write(e2e2paddrlow);
     //Wire.write(data);
     //Wire.endTransmission();
     delay(10);
}

this function line do not acept a breakpoint.

Can you help me?  Shocked




 







     



  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger: the Breakpoint will not currently be hit
Reply #1 - Jul 19th, 2020 at 1:52pm
Print Post  
Hi

Are you sayiing that with the debugger stopped you can not add a breakpoint to the code editor?

  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger: the Breakpoint will not currently be hit
Reply #2 - Jul 19th, 2020 at 3:49pm
Print Post  
Hi Tim!
yes the problem is this.
But I have solved. (I hope)

Listen me, I have trying this, my original file was named AMRA_M73_V1.4.ino  using this name I have see the issue.

But (there is always a but in our life!!)

If I create a new project with name:
AMRA_M73_V14.ino (without the point between 1 and 4 the debug work well.

I'm suspect there is a name compatible problem (two points in to name). Try to see, can be possible?
Shocked Cheesy
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger: the Breakpoint will not currently be hit
Reply #3 - Jul 19th, 2020 at 3:58pm
Print Post  
Sounds like a VS bug. Visual Micro does not interfere with the editor (the editor applies to code edit, navigation, intellisense, code collapse, breakpoints etc.)

The editor is standard VC++ which includes all facility to add and store breakpoints. When we build we ask it what breakpoints it has. 

The only exception is:- If no breakpoints are set + debug is enabled + tutorial mode is enabled... When we build, we add an example breakpoint.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint